From d72e5afb47b68151ac5912dbd52732b41c84cb5c Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 28 Dec 2015 17:07:53 +0100 Subject: [PATCH] Fix PHP7 warning "session_start(): Session callback expects true/false return value" (#1490624) --- CHANGELOG | 1 + program/lib/Roundcube/rcube_session.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 8f42061b9..4a66c5138 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -9,6 +9,7 @@ CHANGELOG Roundcube Webmail - Fix so drag-n-drop of text (e.g. recipient addresses) on compose page actually works (#1490619) - Fix .htaccess rewrite rules to not block .well-known URIs (#1490615) - Fix mail view scaling on iOS (#1490551) +- Fix PHP7 warning "session_start(): Session callback expects true/false return value" (#1490624) RELEASE 1.2-beta ---------------- diff --git a/program/lib/Roundcube/rcube_session.php b/program/lib/Roundcube/rcube_session.php index d0871828a..f0c012cbf 100644 --- a/program/lib/Roundcube/rcube_session.php +++ b/program/lib/Roundcube/rcube_session.php @@ -219,7 +219,9 @@ abstract class rcube_session { // move gc execution to the script shutdown function // see rcube::shutdown() and rcube_session::write_close() - return $this->gc_enabled = $maxlifetime; + $this->gc_enabled = $maxlifetime; + + return true; } /**