These fixes were needed in order to make work save stuff from newmail. Please Paul...
[squirrelmail.git] / src / folders_subscribe.php
index c000722cbc37d2b191b23394a854d1e61e2d88c0..2ae7412acb22b770823ae96479fc676be29ea65d 100644 (file)
@@ -1,8 +1,9 @@
 <?php
+
    /**
     **  folders_subscribe.php
     **
-    **  Copyright (c) 1999-2000 The SquirrelMail development team
+    **  Copyright (c) 1999-2001 The SquirrelMail development team
     **  Licensed under the GNU GPL. For full terms see the file COPYING.
     **
     **  Subscribe and unsubcribe form folders. 
@@ -18,7 +19,7 @@
    $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
 
    $location = get_location();
-   if ($method == "sub") {
+   if ($method == 'sub') {
       for ($i=0; $i < count($mailbox); $i++) {
          $mailbox[$i] = trim($mailbox[$i]);
          sqimap_subscribe ($imapConnection, $mailbox[$i]);