dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50fe92f
)
Followup r70875, fix default value for decode()
author
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 11 Aug 2010 13:03:45 +0000
(13:03 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 11 Aug 2010 13:03:45 +0000
(13:03 +0000)
includes/json/FormatJson.php
patch
|
blob
|
history
diff --git
a/includes/json/FormatJson.php
b/includes/json/FormatJson.php
index
ee9d800
..
cacf668
100644
(file)
--- a/
includes/json/FormatJson.php
+++ b/
includes/json/FormatJson.php
@@
-19,7
+19,7
@@
class FormatJson {
}
}
- public static function decode( $value, $assoc =
self::AS_ARRAY
) {
+ public static function decode( $value, $assoc =
false
) {
if ( !function_exists( 'json_decode' ) ) {
$json = new Services_JSON();
$jsonDec = $json->decode( $value );