Skip to content
Snippets Groups Projects
Commit 1f51a724 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #696 from greezybacon/issue/squelch-pre-upgrade


Don't send emails for non-existent table

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents ed3941bb 22329ad4
No related branches found
No related tags found
No related merge requests found
......@@ -690,7 +690,7 @@ class Staff {
// this user id
$sql = 'DELETE FROM '.CONFIG_TABLE.' WHERE `namespace`="pwreset"
AND `value`='.db_input($this->getId());
db_query($sql);
db_query($sql, false);
unset($_SESSION['_staff']['reset-token']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment