style
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 7 Sep 2010 06:14:29 +0000 (00:14 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 7 Sep 2010 06:49:04 +0000 (00:49 -0600)
framework/Imap_Client/lib/Horde/Imap/Client/Mock.php

index c87980a..4218cd3 100644 (file)
@@ -77,8 +77,9 @@ class Horde_Imap_Client_Mock extends Horde_Imap_Client_Base
         if (!empty($this->params['persistent'])) {
             register_shutdown_function(array($this, 'shutdown'));
 
-            if (empty(self::$storage) && file_exists($this->params['persistent'])
-                && $data = @unserialize(file_get_contents($this->params['persistent']))) {
+            if (empty(self::$storage) &&
+                file_exists($this->params['persistent']) &&
+                ($data = @unserialize(file_get_contents($this->params['persistent'])))) {
                 self::$storage = $data;
             }
         }