Ad Widget

Collapse

bug in 1.1beta1 - prompt to disable a trigger when im actually deleting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mconigliaro
    Senior Member
    • Jun 2005
    • 116

    #1

    bug in 1.1beta1 - prompt to disable a trigger when im actually deleting

    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
    Senior Member
    • Jun 2005
    • 664

    #2
    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
    Attached Files
    Last edited by James Wells; 21-09-2005, 19:10.
    Unofficial Zabbix Developer

    Comment

    Working...