summaryrefslogtreecommitdiff
path: root/program/include/rcube_utils.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-15 15:36:10 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-15 15:36:10 +0100
commit3a54cc50134806cc8e53abf0efa6faf416182990 (patch)
tree154754539b9e5b8d32dbd1665a21e8d79e56aac6 /program/include/rcube_utils.php
parentc8558a182cc218e4aba89f6c42a9e39de20bc0e6 (diff)
Fix rcube_utils::explode_quoted_string() with explode(), added tests
Diffstat (limited to 'program/include/rcube_utils.php')
-rw-r--r--program/include/rcube_utils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_utils.php b/program/include/rcube_utils.php
index 2a4d4c482..5cfd8e70e 100644
--- a/program/include/rcube_utils.php
+++ b/program/include/rcube_utils.php
@@ -761,7 +761,7 @@ class rcube_utils
}
}
- $result[] = substr($string, $p);
+ $result[] = (string) substr($string, $p);
return $result;
}