diff --git a/site/common/database.php b/site/common/database.php index c046c79..8ab2089 100644 --- a/site/common/database.php +++ b/site/common/database.php @@ -99,7 +99,7 @@ function getUserByHash($dbh, &$output, $hash) { 3 - Failure See getUserByHash */ -function getUserByEmail($dbh, &$output, $email) { +function getUserByEmail($dbh, $output, $email) { $result = $dbh->query("SELECT `hash` FROM ec_fluv_users WHERE `email` = '{$email}'"); if($row = $result->fetch_assoc()) { return getUserByHash($output, $row['hash']);