Skip to content

Commit a6ead26

Browse files
committed
[TASK] fix php7.4 syntax issue
1 parent d5d8c7d commit a6ead26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/controller/sfRouting.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public function connect($name, $route, $default = array(), $requirements = array
299299
$elements[count($elements) - 1] = $matches[1];
300300
$route = '/'.implode('/', $elements);
301301
}
302-
else if ($route{strlen($route) - 1} == '/')
302+
else if ($route[strlen($route) - 1] == '/')
303303
{
304304
$suffix = '/';
305305
}

0 commit comments

Comments
 (0)