Skip to content

Commit 06e4116

Browse files
authored
str_replace() on NULL (joomla#40528)
1 parent bf9afa3 commit 06e4116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administrator/components/com_installer/src/Controller/UpdateController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function update()
6161
$redirect_url = $app->getUserState('com_installer.redirect_url');
6262

6363
// Don't redirect to an external URL.
64-
if (!Uri::isInternal($redirect_url)) {
64+
if ($redirect_url && !Uri::isInternal($redirect_url)) {
6565
$redirect_url = '';
6666
}
6767

0 commit comments

Comments
 (0)