summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-16 18:03:58 +0200
committerAleksander Machniak <alec@alec.pl>2012-10-16 18:03:58 +0200
commit5f6c71ae36b73e5f94543eec2f61874cf46e9c62 (patch)
tree7da3d57f47fa7282ce3f0515c4d57a28c3339914 /program
parent464a0fba9d8376962fa216b4fd9e023a3182f7fa (diff)
Fix return value of storage_connect()
Diffstat (limited to 'program')
-rw-r--r--program/include/rcmail.php3
1 files changed, 1 insertions, 2 deletions
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();
}
}