aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-17 00:58:28 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-17 00:58:28 +0100
commit6634d0daf32d26466eae1c9c41209ea75d3096c9 (patch)
tree061db82eb9d53d1f747abc69781dea172dd08397 /ratatoeskr/sys
parent3ec6e95deec14d4a5f4eae77de6e3ea52c0d3e6b (diff)
downloadratatoeskr-cms-6634d0daf32d26466eae1c9c41209ea75d3096c9.tar.gz
ratatoeskr-cms-6634d0daf32d26466eae1c9c41209ea75d3096c9.tar.bz2
ratatoeskr-cms-6634d0daf32d26466eae1c9c41209ea75d3096c9.zip
Article::by_multi must be static!
Diffstat (limited to 'ratatoeskr/sys')
-rw-r--r--ratatoeskr/sys/models.php2
1 files changed, 1 insertions, 1 deletions
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)