Skip to content

Commit 78f40bf

Browse files
authored
Fixed Deprecated Functionality error
Fixed error Deprecated Functionality: Array and string offset access syntax with curly braces is deprecated in app/code/Magefan/RocketJavaScript/Model/Controller/ResultPlugin.php on line 200 this is error message
1 parent 6aaaa77 commit 78f40bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/Controller/ResultPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private function isAllowedOnPage()
197197
$path = trim($path, '/');
198198

199199
if (mb_strlen($path)) {
200-
if ('*' == $path{0}) {
200+
if ('*' == $path[0]) {
201201
$subPath = trim($path, '*/');
202202
if (mb_strlen($currentUrl) - mb_strlen($subPath) === mb_strrpos($currentUrl, $subPath)) {
203203
$this->allowedOnPage = true;

0 commit comments

Comments
 (0)