summaryrefslogtreecommitdiffstats
path: root/controller/itemcontroller.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-09-23 19:14:15 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-09-23 19:14:53 +0200
commit0e118230f6e57498ffe408501e904fa05496cd52 (patch)
treec2edc528663526f6a8fc0a01efb7f4a2cf997604 /controller/itemcontroller.php
parent0739ad702750b880ef804050b21467ec3f5ef24f (diff)
fix test
Diffstat (limited to 'controller/itemcontroller.php')
-rw-r--r--controller/itemcontroller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/itemcontroller.php b/controller/itemcontroller.php
index 7a500a88f..ac838f1bf 100644
--- a/controller/itemcontroller.php
+++ b/controller/itemcontroller.php
@@ -59,7 +59,7 @@ class ItemController extends Controller {
* @param string $search
* @return array
*/
- public function index($type, $id, $limit=50, $offset=0, $showAll=null,
+ public function index($type=3, $id=0, $limit=50, $offset=0, $showAll=null,
$oldestFirst=null, $search='') {
// in case this is called directly and not from the website use the
@@ -215,4 +215,4 @@ class ItemController extends Controller {
}
-} \ No newline at end of file
+}