clean up.
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 22 Apr 2004 15:35:16 +0000 (15:35 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 22 Apr 2004 15:35:16 +0000 (15:35 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7214 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index 2540af3267c8093ea6be2197aa56057b0c4524f2..9cce574aeb8d89ab742cfbd0968e8395181669a3 100644 (file)
@@ -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;