ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: emanuele on October 20, 2013, 10:38:50 am

Title: Edit a ban goes to new
Post by: emanuele on October 20, 2013, 10:38:50 am
Tried once, so the bug report is buggy itself.

Edit a ban
click save
* goes to a new ban page instead of the edited one.

I expired it.
Title: Re: Edit a ban goes to new
Post by: TE on October 20, 2013, 11:28:08 am
yep, noticed this too..
 this line in ManageBans.controller.php is IIRC the reason:

Code: [Select]
saveTriggers(array_shift($_POST['ban_suggestions']), $ban_group, 0, $ban_id);
Title: Re: Edit a ban goes to new
Post by: emanuele on October 25, 2013, 10:06:35 am
Fixed here:
https://github.com/emanuele45/Dialogo/commit/6b087a2ad88dffcad5492253be2b5f77a52320ed