ezsystems/ezpublish — pull request #390 by taenadil (2012-08-06 09:36:37+00:00)
Title: eZOrder (statistics)

## Fatal error in function orderStatistics

sql error when there is no product for selected date

``Query error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY id ASC' at line 2.``
``Query: SELECT id, section_id, owner_id, contentclass_id, name, published, modified, current_version, status, remote_id, language_mask, initial_language_id FROM ezcontentobject WHERE id IN ( ) ORDER BY id ASC``