Skip to content

Commit db9e8d8

Browse files
committed
fix: redirect in aggiornamento
1 parent 397ab3c commit db9e8d8

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

lib/functions.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ function redirect_url($url, $type = 'php')
4444
switch ($type) {
4545
case 'php':
4646
header('Location: '.$url);
47-
exit();
4847
break;
4948
case 'js':
5049
echo '<script type="text/javascript">location.href="'.$url.'";</script>';

modules/aggiornamenti/upload_modules.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,3 +219,4 @@
219219

220220
// Redirect
221221
redirect_url(base_path_osm().'/editor.php?id_module='.$id_module);
222+
exit();

0 commit comments

Comments
 (0)