From c8d3f8fb4681f6993f1c9389e507df0724f56579 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 26 Mar 2013 18:04:02 +0100 Subject: added casting information for data objects --- controller/itemcontroller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controller') diff --git a/controller/itemcontroller.php b/controller/itemcontroller.php index 44b7f9684..47061a14c 100644 --- a/controller/itemcontroller.php +++ b/controller/itemcontroller.php @@ -86,7 +86,7 @@ class ItemController extends Controller { $starredCount = $this->itemBl->starredCount($userId); $params = array( - 'starred' => $starredCount + 'starred' => (int) $starredCount ); return $this->renderJSON($params); -- cgit v1.2.3