ezsystems/ezpublish — pull request #215 by jeromegamez (2011-11-22 13:23:21+00:00)
Title: eZPersistentObject: Warning when$def["grouping"] is not set

Greetings,

the if statement just before tha change asks whether `$def["grouping"]` or `$grouping` is a non-empty array.

In the next line `$grouping_list` is always set to `$def["grouping"]`, even when it is not set, which results in a PHP Warning.

Unfortunately I don't remember anymore where exactly this was an issue, but I do remember that the Display of the warning in the ezadmin interface was not... visually appealing :), and in another case a CLI script stopped working because of that.

Best
- Jérôme