commit d006b36ab34f4ad92b77cdf8bda1a0bf5cce9247
parent 3cbe585de6c1ff3add22cdf2008f82c50194b0b8
Author: dankert <devnull@localhost>
Date: Tue, 15 Feb 2011 21:45:32 +0100
Fix: Notice vermeiden.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/JSON.class.php b/util/JSON.class.php
@@ -353,7 +353,7 @@ class JSON
ord($var{$c + 2}),
ord($var{$c + 3}),
ord($var{$c + 4}),
- ord($var{$c + 5}));
+ ord(@$var{$c + 5}));
$c += 5;
$utf16 = $this->utf82utf16($char);
$ascii .= sprintf('\u%04s', bin2hex($utf16));