Closed selimachour closed 10 years ago
Closed by #114
This issue is closed, but no correction was made to FILE Command/GetLabels.php LINE 61.
Yeah, you're right. The fix for this is the same as the fix for #114. The test should be is_numeric
instead of is_integer
because numeric strings are also acceptable.
In FILE Command/GetLabels.php LINE 61
if (!$id) { throw new \InvalidArgumentException("Node given with no id"); }
I don't know why there's a test, but changing it to !is_integer($id) enables reading labels on rootNode