diff options
Diffstat (limited to 'phpBB/adm/admin_forums.php')
| -rw-r--r-- | phpBB/adm/admin_forums.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/admin_forums.php b/phpBB/adm/admin_forums.php index 2716e15584..8c96696f73 100644 --- a/phpBB/adm/admin_forums.php +++ b/phpBB/adm/admin_forums.php @@ -227,7 +227,7 @@ switch ($mode) include_once($phpbb_root_path . 'includes/functions_posting.' . $phpEx); // Split text rules (we saved the status and bbcode codes here) - if (!strstr($forum_rules_flags, ':') && is_numeric($forum_rules_flags)) + if (strpos($forum_rules_flags, ':') === false && is_numeric($forum_rules_flags)) { // text not parsed yet... a hard time for us... $forum_rules_flags = 0; |
