diff options
author | alecpl <alec@alec.pl> | 2008-10-29 12:39:12 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-10-29 12:39:12 +0000 |
commit | 8498dce502f9265278f7eb2b01ae4e65187a1a84 (patch) | |
tree | dc96a6e2aefe106fe105f1d1d19994f74f1ad1e0 /program/include/rcube_shared.inc | |
parent | fee8c6ceab0f66d83e5c62eae44ee7c624847972 (diff) |
- Fix problem with numeric folder names (#1485527)
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r-- | program/include/rcube_shared.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 26de5b45c..9f8bc4f04 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -179,7 +179,7 @@ function json_serialize($var) return $brackets{0} . implode(',', $pairs) . $brackets{1}; } } - else if (is_numeric($var) && strval(intval($var)) === strval($var)) + else if (!is_string($var) && strval(intval($var)) === strval($var)) return $var; else if (is_bool($var)) return $var ? '1' : '0'; |