From b8ea16017804e20997cd29fa3b9cc4c1b91d9e8a Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 22 Mar 2012 15:19:50 -0400
Subject: [PATCH] Always return the correct connection state
---
program/include/rcmail.php | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 6320e5e..a867291 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -728,11 +728,10 @@
}
else {
$this->set_storage_prop();
- return $storage->is_connected();
}
}
- return false;
+ return $storage->is_connected();
}
--
Gitblit v1.9.1