[ticket/9697] Backlink broken when the select parent forum does not exist.

PHPBB3-9697
This commit is contained in:
Joas Schilling 2010-07-02 12:28:06 +02:00
parent b7ae0fe4e9
commit 0db657381b

View file

@ -983,7 +983,7 @@ class acp_forums
if (!$row) if (!$row)
{ {
trigger_error($user->lang['PARENT_NOT_EXIST'] . adm_back_link($this->u_action . '&' . $this->parent_id), E_USER_WARNING); trigger_error($user->lang['PARENT_NOT_EXIST'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
} }
if ($row['forum_type'] == FORUM_LINK) if ($row['forum_type'] == FORUM_LINK)