Load the rule from the db.
On Apr 14, 2014 11:32 PM, "Pico88" <notifications@github.com> wrote:

> In acp/boardrules_module.php:
>
> > @@ -26,6 +26,12 @@ function main($id, $mode)
> >  		$parent_id = $request->variable('parent_id', 0);
> >  		$rule_id = $request->variable('rule_id', 0);
> >
> > +		// Modify $u_action while deleting the rule by adding the language and the parent_id variables
> > +		if ($action == 'delete')
> > +		{
> > +			$this->u_action = "{$this->u_action}&amp;language={$language}&amp;parent_id={$parent_id}";
>
> But $language and $parent_id aren't defined.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/phpbb-extensions/boardrules/pull/89/files#r11621384>
> .
>