mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-18 13:30:08 +02:00
[ticket/10400] Allow forum name to be '0'
PHPBB3-10400
This commit is contained in:
parent
92373e6d46
commit
cacb9f2ec5
@ -875,7 +875,7 @@ class acp_forums
|
|||||||
|
|
||||||
$errors = array();
|
$errors = array();
|
||||||
|
|
||||||
if (!$forum_data['forum_name'])
|
if ($forum_data['forum_name'] == '')
|
||||||
{
|
{
|
||||||
$errors[] = $user->lang['FORUM_NAME_EMPTY'];
|
$errors[] = $user->lang['FORUM_NAME_EMPTY'];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user