diff options
author | Cosmin Atanasiu <innorogue@gmail.com> | 2012-04-24 05:56:37 +0200 |
---|---|---|
committer | Cosmin Atanasiu <innorogue@gmail.com> | 2012-04-24 05:56:37 +0200 |
commit | fc90a7b66df97db1fa0c792759118119836cb7ed (patch) | |
tree | 260c1397d152dc069b5b989c7001c51dced54745 | |
parent | 274f7d1b42d6ed83c3b22106c945590c05599cdc (diff) |
Update system/libraries/Javascript.php
-rw-r--r-- | system/libraries/Javascript.php | 2 |
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)) { |