Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/common/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down