diff --git a/core/src/Core.php b/core/src/Core.php index 48f5fe9c8..7068423db 100644 --- a/core/src/Core.php +++ b/core/src/Core.php @@ -446,7 +446,7 @@ public function sendRedirect($url, $count_attempts = 0, $type = 'REDIRECT_HEADER } if ($type === 'REDIRECT_JS') { - echo sprintf("", $url); + echo sprintf('', $url); exit; } @@ -3151,7 +3151,7 @@ public function webAlertAndQuit($msg, $url = '') } elseif (!$url) { $fnc = 'history.back(-1);'; } else { - $fnc = "window.location.href='" . addslashes($url) . "';"; + $fnc = 'window.location.href="' . addslashes($url) . '";'; } $style = ''; @@ -3169,23 +3169,25 @@ public function webAlertAndQuit($msg, $url = '') echo '
-" . $msg . '
- - '; +' . $msg . '
+ +