From b74b4148edbca7761a8a9ec92348a13fa68c13b7 Mon Sep 17 00:00:00 2001 From: simond Date: Sat, 2 Mar 2002 11:21:18 +0000 Subject: [PATCH] Stop a repeating loop when deleting a highlight git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2535 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/options_highlight.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options_highlight.php b/src/options_highlight.php index b3e044ad..ceebe2f4 100644 --- a/src/options_highlight.php +++ b/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; -- 2.25.1