summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-01-16 11:12:43 +0100
committerThomas Bruederli <thomas@roundcube.net>2014-01-16 11:33:57 +0100
commitd53b60406c8070f363d42b32a21670ae68f56cc1 (patch)
treee687c4518eb6494a6d03c939e2f4c0caccbfcd4a
parentb6e24c6946606cd504d522451c36b6dc574fe75d (diff)
Fix typos
-rw-r--r--program/lib/Roundcube/rcube_imap_search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_imap_search.php b/program/lib/Roundcube/rcube_imap_search.php
index d82ec8a24..70a11bc1c 100644
--- a/program/lib/Roundcube/rcube_imap_search.php
+++ b/program/lib/Roundcube/rcube_imap_search.php
@@ -235,7 +235,7 @@ class rcube_imap_search_job extends Stackable
}
}
- if (!$messages || !$messages->is_error()) {
+ if (!$messages || $messages->is_error()) {
$messages = $imap->search($this->folder,
($charset && $charset != 'US-ASCII' ? "CHARSET $charset " : '') . $criteria, true);
@@ -272,7 +272,7 @@ class rcube_imap_search_job extends Stackable
/**
- * Wrker thread to run search jobs while maintaining a common context
+ * Worker thread to run search jobs while maintaining a common context
*/
class rcube_imap_search_worker extends Worker
{