Update
[squirrelmail.git] / functions / imap_search.php
index 9ae1323ac1be22efb66bd8947751a1090f37d9f6..fbc9baeb551345657dbc1f549faa7eeff5750bbe 100644 (file)
@@ -201,7 +201,7 @@ function sqimap_search($imapConnection,$search_where,$search_what,$mailbox,$colo
                        echo '</td></tr>';
         }
         echo '</table></td></tr></table></form>';
-               $count_all += count($msgs);
+               $count_all = count($msgs);
     }
                return $count_all;
 }