diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-10-24 08:24:16 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-10-24 08:24:16 +0200 |
commit | 7653ed107e008f917fdfc0530f2409644c7e982b (patch) | |
tree | 732aefa083e13cae8dcd17daec1377ca1c4738ab /program | |
parent | a23c233db6d34aa8fab96d5d9d708a373bf4fa0f (diff) |
Fix compatibility with PHP 5.2. in rcube_imap_generic (#1490115)
Diffstat (limited to 'program')
-rw-r--r-- | program/lib/Roundcube/rcube_imap_generic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap_generic.php b/program/lib/Roundcube/rcube_imap_generic.php index d032f420d..494185913 100644 --- a/program/lib/Roundcube/rcube_imap_generic.php +++ b/program/lib/Roundcube/rcube_imap_generic.php @@ -865,7 +865,7 @@ class rcube_imap_generic if (!$this->fp) { $this->setError(self::ERROR_BAD, sprintf("Could not connect to %s:%d: %s", - $host, $this->prefs['port'], $errstr ?: "Unknown reason")); + $host, $this->prefs['port'], $errstr ? $errstr : "Unknown reason")); return false; } |