summaryrefslogtreecommitdiffstats
path: root/controller
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-26 18:04:02 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-26 18:04:02 +0100
commitc8d3f8fb4681f6993f1c9389e507df0724f56579 (patch)
tree312b48cdbc17c23d1e7aac6513f40e0a5813fdbf /controller
parent8e1e0f5281c1ee49fe7f6d84ba8f2b709ebf7f40 (diff)
added casting information for data objects
Diffstat (limited to 'controller')
-rw-r--r--controller/itemcontroller.php2
1 files changed, 1 insertions, 1 deletions
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);