ColdTrick/pages_tools — pull request #2 by beck24 (2012-08-17 16:39:45+00:00)
Title: Fixes positioning of child elements with $child->order = 0

empty($child->order) returns true for 0, so they ordered by time_created instead.

Changing to $child->order === NULL allows 0 to be sorted numerically, and all unordered children to use time_created