diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2015-05-15 19:32:40 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2015-05-15 19:32:40 +0200 |
commit | 5c3b310dea6f5a4712e4b9bc1f3d6d198c057ee0 (patch) | |
tree | 190a3031d17109f7c44821bbc975d51198f5de62 /inc/JSON.php | |
parent | 26e22ab837dcabe137a0912fcd2f96d0c35f48c8 (diff) | |
download | rpg-5c3b310dea6f5a4712e4b9bc1f3d6d198c057ee0.tar.gz rpg-5c3b310dea6f5a4712e4b9bc1f3d6d198c057ee0.tar.bz2 |
more class constructors to __construct()
Diffstat (limited to 'inc/JSON.php')
-rw-r--r-- | inc/JSON.php | 2 |
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; } |