From: stekkel Date: Thu, 22 Apr 2004 15:35:16 +0000 (+0000) Subject: clean up. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=7b9fdca94be72d8426811edbc6cf4d18eab36a01 clean up. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7214 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/read_body.php b/src/read_body.php index 2540af32..9cce574a 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -736,9 +736,9 @@ function formatToolbar($mailbox, $passed_id, $passed_ent_id, $message, $color) { global $base_uri; $urlMailbox = urlencode($mailbox); - if (sqgetGlobalVar('QUERY_STRING', $query_string, SQ_SERVER)) { - $query_string = $query_string; - } else { + if (!sqgetGlobalVar('QUERY_STRING', $query_string, SQ_SERVER)) { + // FIX ME !. If this happens there is something else wrong. Falling + // back to '' won't help. We should raise an error instead. $query_string = ''; } $url = $base_uri.'src/view_header.php?'.$query_string;