aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_forums.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2011-10-07 09:44:31 +0200
committerJoas Schilling <nickvergessen@gmx.de>2011-10-07 09:44:31 +0200
commitcacb9f2ec514f028ef7ccf35a3fa04b38bdac7ac (patch)
tree280ffd6c3e5d43496bcb1bf70ab56d50ecacc24a /phpBB/includes/acp/acp_forums.php
parent92373e6d465c6dece6aca121eab67ec7b08d98d8 (diff)
downloadforums-cacb9f2ec514f028ef7ccf35a3fa04b38bdac7ac.tar
forums-cacb9f2ec514f028ef7ccf35a3fa04b38bdac7ac.tar.gz
forums-cacb9f2ec514f028ef7ccf35a3fa04b38bdac7ac.tar.bz2
forums-cacb9f2ec514f028ef7ccf35a3fa04b38bdac7ac.tar.xz
forums-cacb9f2ec514f028ef7ccf35a3fa04b38bdac7ac.zip
[ticket/10400] Allow forum name to be '0'
PHPBB3-10400
Diffstat (limited to 'phpBB/includes/acp/acp_forums.php')
-rw-r--r--phpBB/includes/acp/acp_forums.php2
1 files changed, 1 insertions, 1 deletions
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'];
}