mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
Fixes #1056 - Forum rules and statistics links added back to template and reworked for bootstrap. thread_sef removed from forum_thread database table and now generated on the fly. More testing required.
This commit is contained in:
@@ -375,7 +375,7 @@ if(!deftrue('OLD_FORUMADMIN'))
|
||||
|
||||
public function beforeUpdate($new_data, $old_data, $id)
|
||||
{
|
||||
if(empty($new_data['forum_sef']))
|
||||
if(empty($new_data['forum_sef']) && !empty($new_data['forum_name']))
|
||||
{
|
||||
$new_data['forum_sef'] = eHelper::title2sef($new_data['forum_name']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user