Skip to content

Commit 10611ed

Browse files
authored
Fixed: implode(): Passing glue string after array is deprecated
1 parent 0859d33 commit 10611ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/SlashUrlRedirect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
8787
}
8888

8989
$result[0] = trim($result[0], '/') . '/';
90-
$urlSlash = implode($result, '?');
90+
$urlSlash = implode('?', $result);
9191

9292
if ($urlSlash != $currentUrl) {
9393
$controller = $observer->getEvent()->getData('controller_action');

0 commit comments

Comments
 (0)