diff --git a/e107_plugins/forum/forum_admin.php b/e107_plugins/forum/forum_admin.php index 4762d995c..a803bda68 100644 --- a/e107_plugins/forum/forum_admin.php +++ b/e107_plugins/forum/forum_admin.php @@ -395,7 +395,7 @@ if(!deftrue('OLD_FORUMADMIN')) // make sure the forum_name contains only plain text, no bbcode or html $new_data['forum_name'] = trim(e107::getParser()->toText($new_data['forum_name'])); } - if(empty($new_data['forum_sef']) && !empty($new_data['forum_name'])) + if(isset($new_data['forum_sef']) && empty($new_data['forum_sef']) && !empty($new_data['forum_name'])) { $new_data['forum_sef'] = eHelper::title2sef($new_data['forum_name']); }