Summary
notify_lists.php bulk delete action (drp_action == 1) contains a malformed UPDATE statement for the host email reset:
UPDATE host
SET thold_host_email = 0
AND deleted=""
WHERE ...
The AND deleted="" was incorrectly placed in the SET clause as part of the assignment expression, rather than in the WHERE clause as a filter condition.
Impact
- The
deleted="" filter was not applied as intended.
- The expression semantics were incorrect and could silently produce unintended updates.
Location
notify_lists.php, bulk delete flow (drp_action == 1).
Expected
Move the deleted="" filter from the SET clause to the WHERE clause, matching the structure of the adjacent thold_send_email update queries.
Fix
Implementation in #794.
Summary
notify_lists.phpbulk delete action (drp_action == 1) contains a malformed UPDATE statement for the host email reset:The
AND deleted=""was incorrectly placed in theSETclause as part of the assignment expression, rather than in theWHEREclause as a filter condition.Impact
deleted=""filter was not applied as intended.Location
notify_lists.php, bulk delete flow (drp_action == 1).Expected
Move the
deleted=""filter from theSETclause to theWHEREclause, matching the structure of the adjacentthold_send_emailupdate queries.Fix
Implementation in #794.