Commit 986bfda1 authored by jacob.embree's avatar jacob.embree Committed by DamienMcKenna

Issue #3117897 by jacob.embree: Curly brace syntax for accessing array...

Issue #3117897 by jacob.embree: Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4.
parent 693eb578
......@@ -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;
}
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment