commit | fc90a7b66df97db1fa0c792759118119836cb7ed | [log] [tgz] |
---|---|---|
author | Cosmin Atanasiu <innorogue@gmail.com> | Mon Apr 23 20:56:37 2012 -0700 |
committer | Cosmin Atanasiu <innorogue@gmail.com> | Mon Apr 23 20:56:37 2012 -0700 |
tree | 260c1397d152dc069b5b989c7001c51dced54745 | |
parent | 274f7d1b42d6ed83c3b22106c945590c05599cdc [diff] |
Update system/libraries/Javascript.php
diff --git a/system/libraries/Javascript.php b/system/libraries/Javascript.php index 629a3ad..21c9e11 100644 --- a/system/libraries/Javascript.php +++ b/system/libraries/Javascript.php
@@ -723,7 +723,7 @@ { if (is_object($result)) { - $json_result = $result->result_array(); + $json_result = (array)$result; } elseif (is_array($result)) {