Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2693955
D25470.1734770645.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
465 B
Referenced Files
None
Subscribers
None
D25470.1734770645.diff
View Options
diff --git a/src/applications/policy/filter/PhabricatorPolicyFilter.php b/src/applications/policy/filter/PhabricatorPolicyFilter.php
--- a/src/applications/policy/filter/PhabricatorPolicyFilter.php
+++ b/src/applications/policy/filter/PhabricatorPolicyFilter.php
@@ -461,7 +461,7 @@
// checks make it difficult to create cycles normally, so just do a
// simple check here to limit damage.
- static $depth;
+ static $depth = 0;
$depth++;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 08:44 (4 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016468
Default Alt Text
D25470.1734770645.diff (465 B)
Attached To
Mode
D25470: Initialize static variable to make linter happy
Attached
Detach File
Event Timeline
Log In to Comment