You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch

21 lines
758 B

--- a/JSON.php 2011/01/28 00:16:42 307804
+++ b/JSON.php 2013/04/30 02:37:26 330165
@@ -554,7 +544,7 @@
return ($this->use & SERVICES_JSON_SUPPRESS_ERRORS)
? 'null'
- : new Services_JSON_Error(class_name($var).
+ : new Services_JSON_Error(get_class($var).
" toJSON returned an object with a toJSON method.");
}
@@ -995,7 +985,7 @@
function Services_JSON_Error($message = 'unknown error', $code = null,
$mode = null, $options = null, $userinfo = null)
{
-
+ return;
}
}