Skip to content

Commit

Permalink
Drop ereg dependency, fix compat with PHP 7 (#5820)
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet authored and alecpl committed Jun 27, 2017
1 parent 854aa7f commit 90eafe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/password/drivers/cpanel_webmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 90eafe7

Please sign in to comment.