Various fixes
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 15 Nov 2001 17:05:40 +0000 (17:05 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 15 Nov 2001 17:05:40 +0000 (17:05 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1762 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_general.php
functions/imap_mailbox.php

index d4c61c3490ccf2f5fdef0fcd6dbbab9ce26fc9f9..df3cf24dee11e82b2bcf79eac59a6bda3aff63c4 100755 (executable)
@@ -1,6 +1,9 @@
 <?php
+
    /**
     **  imap.php
+    **  Copyright (c) 1999-2001 The Squirrelmail Development Team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.    
     **
     **  This implements all functions that do general imap functions.
     **
index 0721eae3d0a49bbfa9642f7016377c30f6d91d8a..a0d3e7b602249bbe679db21e7536480200e48f33 100755 (executable)
@@ -1,6 +1,9 @@
 <?php
+
    /**
     **  imap_mailbox.php
+    **  Copyright (c) 1999-2001 The Squirrelmail Development Team
+    **  Licensed under the GNU GPL. For full terms see the file COPYING.        
     **
     **  This impliments all functions that manipulate mailboxes
     **
@@ -44,8 +47,8 @@
              $read = sqimap_read_data($imap_stream, sqimap_session_id(), true, $response, $message);
       if ($recent) {
          for ($i=0; $i<count($read); $i++) {
-            if (strpos(strtolower($read[$i]), "recent")) {
-               $r = explode(" ", $read[$i]);
+            if (strpos(strtolower($read[$i]), 'recent')) {
+               $r = explode(' ', $read[$i]);
             }
          }
          return $r[1];