From cacb9f2ec514f028ef7ccf35a3fa04b38bdac7ac Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 7 Oct 2011 09:44:31 +0200 Subject: [ticket/10400] Allow forum name to be '0' PHPBB3-10400 --- phpBB/includes/acp/acp_forums.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB') diff --git a/phpBB/includes/acp/acp_forums.php b/phpBB/includes/acp/acp_forums.php index 4d9b9f01e0..27bec3f1ea 100644 --- a/phpBB/includes/acp/acp_forums.php +++ b/phpBB/includes/acp/acp_forums.php @@ -875,7 +875,7 @@ class acp_forums $errors = array(); - if (!$forum_data['forum_name']) + if ($forum_data['forum_name'] == '') { $errors[] = $user->lang['FORUM_NAME_EMPTY']; } -- cgit v1.2.1