ridiculous f**c**ng bugfix
authorx99bachelart <x99bachelart>
Wed, 1 Oct 2003 18:40:48 +0000 (18:40 +0000)
committerx99bachelart <x99bachelart>
Wed, 1 Oct 2003 18:40:48 +0000 (18:40 +0000)
include/spool.inc.php

index ffdf47b..c301e5d 100644 (file)
@@ -207,7 +207,7 @@ class spool {
       }
     }
     unset($this->overview[$_id]);
-    $msgid=array_search($this->ids,$_id);
+    $msgid=array_search($_id,$this->ids);
     if ($msgids) {
       unset($this->ids[$msgid]);
     }
@@ -246,8 +246,8 @@ class spool {
         }
       }
       unset($this->overview[$_id]);
-      $msgid=array_search($this->ids,$_id);
-      if ($msgids) {
+      $msgid=array_search($_id,$this->ids);
+      if ($msgid) {
         unset($this->ids[$msgid]);
       }
 #      $ids = array_flip($this->ids);