etrepat/baum — pull request #10 by daxborges (2013-06-18 21:06:18+00:00)
Title: Fix SQL error from empty parent_id when moving root nodes

Move::parentId() was returning empty when dealing with a root node. This resulted in an SQL error related to $parentSql of Move::updateStructure(). Not sure if hardcoding 'NULL' is the best way to do it but it seems to solve the problem.