diff --git a/handlers/views_handler_filter_combine.inc b/handlers/views_handler_filter_combine.inc index 35bfb20fe6a14937d9b941179983075305a911cd..e7abb4e513198b80e104532925cb6edb99dd296b 100644 --- a/handlers/views_handler_filter_combine.inc +++ b/handlers/views_handler_filter_combine.inc @@ -129,7 +129,7 @@ class views_handler_filter_combine extends views_handler_filter_string { foreach ($matches as $match) { $phrase = FALSE; // Strip off phrase quotes. - if ($match[2]{0} == '"') { + if ($match[2][0] == '"') { $match[2] = substr($match[2], 1, -1); $phrase = TRUE; } diff --git a/handlers/views_handler_filter_string.inc b/handlers/views_handler_filter_string.inc index 85e3814f23a11c16effeb47c65c82ec6350e4a23..8d2f7345040d1d7da42b076ce5769c0b9f67d0e4 100644 --- a/handlers/views_handler_filter_string.inc +++ b/handlers/views_handler_filter_string.inc @@ -300,7 +300,7 @@ class views_handler_filter_string extends views_handler_filter { foreach ($matches as $match) { $phrase = FALSE; // Strip off phrase quotes - if ($match[2]{0} == '"') { + if ($match[2][0] == '"') { $match[2] = substr($match[2], 1, -1); $phrase = TRUE; }