summaryrefslogtreecommitdiff
path: root/plugins/managesieve/lib
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-15 08:37:57 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-15 08:37:57 +0000
commitea6bf1ddb26648767fc92abbf0bbac91fb60d747 (patch)
tree55dd2dd123263b84f8c3b86924bd70bbb10aca2f /plugins/managesieve/lib
parentda3b7f716fc0bec88420e9cc579ce8a3c0662041 (diff)
- Fixed handling of enabled magic_quotes_gpc setting
- Fixed PHP warning on connection error when submitting filter form - Fixed bug where new action row with flags wasn't handled properly git-svn-id: https://svn.roundcube.net/trunk@5215 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/managesieve/lib')
-rw-r--r--plugins/managesieve/lib/rcube_sieve_script.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/managesieve/lib/rcube_sieve_script.php b/plugins/managesieve/lib/rcube_sieve_script.php
index ee2780266..65f8d865c 100644
--- a/plugins/managesieve/lib/rcube_sieve_script.php
+++ b/plugins/managesieve/lib/rcube_sieve_script.php
@@ -684,7 +684,7 @@ class rcube_sieve_script
// String atom
default:
// empty or one character
- if ($str === '') {
+ if ($str === '' || $str === null) {
break 2;
}
if (strlen($str) < 2) {