From ff256b7bb97edf95640bbaf159c3970a0263be92 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 27 Jun 2017 13:24:23 +0200 Subject: [PATCH] Drop ereg dependency, fix compat with PHP 7 (#5820) --- 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 a34b6a1f877..8aabd3c6c3b 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,