Skip to main content
Topic: [1.1.5] Cannot add triggers to an existing ban (Read 2232 times) previous topic - next topic
0 Members and 2 Guests are viewing this 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