diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-26 18:04:02 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-26 18:04:02 +0100 |
commit | c8d3f8fb4681f6993f1c9389e507df0724f56579 (patch) | |
tree | 312b48cdbc17c23d1e7aac6513f40e0a5813fdbf /controller/itemcontroller.php | |
parent | 8e1e0f5281c1ee49fe7f6d84ba8f2b709ebf7f40 (diff) |
added casting information for data objects
Diffstat (limited to 'controller/itemcontroller.php')
-rw-r--r-- | controller/itemcontroller.php | 2 |
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); |