diff options
author | Remi Collet <remi@remirepo.net> | 2017-06-27 16:55:03 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-06-27 16:55:03 +0200 |
commit | 73fc69ddee626c44efd00ba5852637c963ae4040 (patch) | |
tree | fe8a083fda1d36012d2cf8cde5ced100ccd1915e /roundcubemail-pr5820.patch | |
parent | a0d08f6587f09706a221dcf327ab96b84164c2e7 (diff) |
v1.3.0
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, |