diff options
Diffstat (limited to 'roundcubemail-pr5820.patch')
-rw-r--r-- | roundcubemail-pr5820.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/roundcubemail-pr5820.patch b/roundcubemail-pr5820.patch new file mode 100644 index 0000000..0f5cbc5 --- /dev/null +++ b/roundcubemail-pr5820.patch @@ -0,0 +1,22 @@ +From 416eb9b80480b4e07b2868e37fb56fff966b77c7 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 27 Jun 2017 11:40:09 +0200 +Subject: [PATCH] drop ereg dependency, fix compat with PHP 7 + +--- + plugins/password/drivers/cpanel_webmail.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/plugins/password/drivers/cpanel_webmail.php b/plugins/password/drivers/cpanel_webmail.php +index a34b6a1f8..8aabd3c6c 100644 +--- a/plugins/password/drivers/cpanel_webmail.php ++++ b/plugins/password/drivers/cpanel_webmail.php +@@ -41,7 +41,7 @@ public function save($curpas, $newpass) + { + $user = $_SESSION['username']; + $userpwd = "$user:$curpas"; +- list($login) = split('@', $user); ++ list($login) = explode('@', $user); + + $data = array( + 'email' => $login, |