Fix rg issue
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 2 Jul 2003 06:45:36 +0000 (06:45 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 2 Jul 2003 06:45:36 +0000 (06:45 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5187 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/mail_fetch/fetch.php

index d51fea25b6eebc69e473bd34784dbd4c71e934a2..45807588ae1b202413755fd1190e6a2c760a7ef4 100644 (file)
@@ -114,7 +114,8 @@ sqgetGlobalVar('delimiter',  $delimiter,  SQ_SESSION);
                ) ,
            'center', '', 'width="95%" cols="1"' );
 
-    if (!isset( $server_to_fetch ) ) {
+    // get $server_to_fetch from globals, if not set display a choice to the user
+    if (! sqgetGlobalVar('server_to_fetch', $server_to_fetch, SQ_POST) ) {
         Mail_Fetch_Select_Server($mailfetch);
         exit();
     }