From 5f6c71ae36b73e5f94543eec2f61874cf46e9c62 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 16 Oct 2012 18:03:58 +0200 Subject: Fix return value of storage_connect() --- program/include/rcmail.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'program/include/rcmail.php') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index ee144faca..ec3d537ec 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -2118,10 +2118,9 @@ class rcmail extends rcube } else { $this->set_storage_prop(); - return $storage->is_connected(); } } - return false; + return $storage->is_connected(); } } -- cgit v1.2.3