PDA

View Full Version : bug in 1.1beta1 - prompt to disable a trigger when im actually deleting


mconigliaro
21-09-2005, 16:55
when i try to delete a trigger, it asks me to confirm that i want to DISABLE the trigger. i assume this is a typo.

James Wells
21-09-2005, 18:55
Greetings,

I just checked the source and it is typo. On line 309 in triggers.php, he is querying if you want to disable the triggers, then on line 310, he uses the S_DISABLE_SELECTED_TRIGGERS_Q language constant, instead of the S_DELETE_SELECTED_TRIGGERS_Q language constant.

EDIT: Attached a patch to fix this