diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch')
-rw-r--r-- | dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch b/dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch new file mode 100644 index 000000000000..c7d8be3aa910 --- /dev/null +++ b/dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch @@ -0,0 +1,20 @@ +--- 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; + } + } + |