summaryrefslogtreecommitdiff
path: root/inc/JSON.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/JSON.php')
-rw-r--r--inc/JSON.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/JSON.php b/inc/JSON.php
index 7f89005ff..e01488e14 100644
--- a/inc/JSON.php
+++ b/inc/JSON.php
@@ -119,7 +119,7 @@ class JSON {
* JSON_LOOSE_TYPE - loose typing
* "{...}" syntax creates associative arrays in decode.
*/
- function JSON($use=JSON_STRICT_TYPE) {
+ function __construct($use=JSON_STRICT_TYPE) {
$this->use = $use;
}