UnionOfRAD/lithium — pull request #987 by marcghorayeb (2013-07-15 08:15:31+00:00)
Title: Fix #986 - Database::_sort outputs empty ORDER BY and GROUP BY clauses

Will not output ORDER BY or GROUP BY clause if given field is empty (ie. if = array()).