Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.10.0, 3.9.4, 4.0.0
-
None
Description
Warning: (PHP) Undefined index: Limitation in kernel/classes/ezcontentobjecttreenode.php on line 2307
This warning occurs for example when calling eZContentObjectTreeNode::subTreeCount(ByNodeID) from a CLI script.
No warning will occur on eZ 3.9 / 3.10 because a reference is used there, but the wrong variable is used anyway and results will probably be wrong, so needs fix on those branches as well.
Actually, subTreeCount(ByNodeID) should use the function getLimitationList just like subTree does.