From ea6bf1ddb26648767fc92abbf0bbac91fb60d747 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 15 Sep 2011 08:37:57 +0000 Subject: - 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 --- plugins/managesieve/lib/rcube_sieve_script.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/managesieve/lib') 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) { -- cgit v1.2.3