From 7653ed107e008f917fdfc0530f2409644c7e982b Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 24 Oct 2014 02:24:16 -0400 Subject: [PATCH] Fix compatibility with PHP 5.2. in rcube_imap_generic (#1490115) --- 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 d032f42..4941859 100644 --- a/program/lib/Roundcube/rcube_imap_generic.php +++ b/program/lib/Roundcube/rcube_imap_generic.php @@ -865,7 +865,7 @@ 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; } -- Gitblit v1.9.1