Browse Source

remove Yoda condition

euromark 12 years ago
parent
commit
9bb77e50f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Lib/ImapLib.php

+ 1 - 1
Lib/ImapLib.php

@@ -137,7 +137,7 @@ class ImapLib {
 
 		//$options = OP_DEBUG;
 		$this->stream = @imap_open($connector, $user, $pass, $options);
-		if (false === $this->stream) {
+		if ($this->stream === false) {
 			if ($error = $this->checkConnection()) {
 				throw new ImapException($error);
 			}