From 6634d0daf32d26466eae1c9c41209ea75d3096c9 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Tue, 17 Jan 2012 00:58:28 +0100 Subject: Article::by_multi must be static! --- ratatoeskr/sys/models.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr/sys') diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php index 255fafc..6729281 100644 --- a/ratatoeskr/sys/models.php +++ b/ratatoeskr/sys/models.php @@ -2387,7 +2387,7 @@ class Article extends BySQLRowEnabled * Returns: * Array of Article objects */ - public function by_multi($criterias, $sortby, $sortdir, $count, $offset, $perpage, $page, &$maxpage) + public static function by_multi($criterias, $sortby, $sortdir, $count, $offset, $perpage, $page, &$maxpage) { $subqueries = array(); foreach($criterias as $k => $v) -- cgit v1.2.3-70-g09d2