fix for cron.php

This commit is contained in:
2018-02-23 19:25:30 +01:00
parent 4e33985cfc
commit 83cf11149b

View File

@@ -31,7 +31,7 @@ foreach ($db->query($sql) as $row) {
$row["verify_url"]);
if ($success) {
$db->exec("UPDATE registrations SET state = " . RegisterState::PendingEmailVerify)
$db->exec("UPDATE registrations SET state = " . RegisterState::PendingEmailVerify
. " WHERE id = " . $row["id"] . ";");
} else {
throw new Exception("Could not send mail to ".$row["first_name"]." ".$row["last_name"]."(".$row["id"].")");