The query must not be null.
authorJan Schneider <jan@horde.org>
Sun, 30 Aug 2009 10:08:49 +0000 (12:08 +0200)
committerJan Schneider <jan@horde.org>
Sun, 30 Aug 2009 10:08:49 +0000 (12:08 +0200)
framework/Rdo/lib/Horde/Rdo/Mapper.php

index b96d162..5a26980 100644 (file)
@@ -292,7 +292,7 @@ abstract class Horde_Rdo_Mapper implements Countable
      *
      * @return integer All objects matching $query.
      */
-    public function count($query = null)
+    public function count($query)
     {
         $query = Horde_Rdo_Query::create($query, $this);
         $query->setFields('COUNT(*)')