Browse Source

Stop a repeating loop when deleting a highlight

simond 23 years ago
parent
commit
c29debbfcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/options_highlight.php

+ 1 - 1
src/options_highlight.php

@@ -34,7 +34,7 @@ if (! isset($message_highlight_list)) {
 
 if ($action == 'delete' && isset($theid)) {
     removePref($data_dir, $username, "highlight$theid");
-    header( "Location: $PHP_SELF" );
+    header( "Location: $SCRIPT_NAME" );
     exit;
 } else if ($action == 'save') {
     if (!$theid) $theid = 0;