1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 11:20:25 +02:00

Issue #3798 - Inline editing of Forum Name was changing SEF URL.

This commit is contained in:
Cameron
2019-05-17 12:21:17 -07:00
parent e18a5cfebd
commit 2fb44903ab

View File

@@ -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']);
}