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 d4c61c3..df3cf24 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 0721eae..a0d3e7b 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];