Skip to content
Snippets Groups Projects
Commit b68422e6 authored by jacob.embree's avatar jacob.embree Committed by Megachriz
Browse files

Issue #3121039 by jacob.embree: Fixed PHP 7.4 deprecation: Replaced curly...

Issue #3121039 by jacob.embree: Fixed PHP 7.4 deprecation: Replaced curly brace syntax for accessing string offset in http_request_create_absolute_url().
parent 4337bba1
No related branches found
No related tags found
No related merge requests found
......@@ -582,7 +582,7 @@ function http_request_create_absolute_url($url, $base_url) {
// Adding to the existing path.
$cparts = array();
if ($url{0} == '/') {
if ($url[0] == '/') {
$cparts = array_filter(explode("/", $url));
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment