summaryrefslogtreecommitdiffstats
path: root/system/libraries/Javascript.php
diff options
context:
space:
mode:
authorCosmin Atanasiu <innorogue@gmail.com>2012-04-24 05:56:37 +0200
committerCosmin Atanasiu <innorogue@gmail.com>2012-04-24 05:56:37 +0200
commitfc90a7b66df97db1fa0c792759118119836cb7ed (patch)
tree260c1397d152dc069b5b989c7001c51dced54745 /system/libraries/Javascript.php
parent274f7d1b42d6ed83c3b22106c945590c05599cdc (diff)
Update system/libraries/Javascript.php
Diffstat (limited to 'system/libraries/Javascript.php')
-rw-r--r--system/libraries/Javascript.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Javascript.php b/system/libraries/Javascript.php
index 629a3adfe..21c9e11bd 100644
--- a/system/libraries/Javascript.php
+++ b/system/libraries/Javascript.php
@@ -723,7 +723,7 @@ class CI_Javascript {
{
if (is_object($result))
{
- $json_result = $result->result_array();
+ $json_result = (array)$result;
}
elseif (is_array($result))
{