mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-21 02:07:23 -04:00
- JobThrottle::saveValue now returns int throttle_id instead of bool: new inserts return the DB-generated insertID, updates return the existing throttleId. - Jobs controller collects saved ids into $notToDelete using the returned value, so newly inserted throttles are correctly tracked. Fixes bug where newly inserted throttles had no id captured, causing them to be wrongly deleted in the post-save cleanup step. Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>