Skip to main content
[1.1.5] Cannot add triggers to an existing ban Started by kode54 · · Read 2962 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

[1.1.5] Cannot add triggers to an existing ban

The add ban trigger button works, but when completing the trigger form, it results in a page with the error, "Ban not found."

 

Re: [1.1.5] Cannot add triggers to an existing ban

Reply #1

Thanks for the report ... Looks like its a simple fix in Managebans.controller.php in function action_edittrigger()

Code: (find) [Select]
		$ban_group = $this->_req->getQuery('bg', 'intval', 0);
$ban_id = $this->_req->getQuery('bi', 'intval', 0);
Code: (replace) [Select]
		$ban_group = $this->_req->get('bg', 'intval', 0);
$ban_id = $this->_req->get('bi', 'intval', 0);

ETA: https://github.com/elkarte/Elkarte/issues/3306
Last Edit: April 20, 2019, 11:31:10 am by Spuds