CMS MADE SIMPLE FORGE

CGFeedback

 

[#11746] Comments moderation 'automatic' not possible, setting of 'Validate Email Adress' doesn't save.

avatar
Created By: KLaus Kügler (Lucy)
Date Submitted: Tue Feb 20 07:45:24 -0500 2018

Assigned To: Robert Campbell (calguy1000)
Version: 2.1.1
CMSMS Version: 2.2.5
Severity: Minor
Resolution: None
State: Open
Summary:
Comments moderation 'automatic' not possible, setting of 'Validate Email Adress' doesn't save.
Detailed Description:
Preference "moderate_comments" needs 'automatic' to be applied, but 

in 'action.admin_settings_tab.php' options are:

$opts = [ 'auto' => $this->Lang('automatic'),
          'none' => $this->Lang('none'),
          'always' => $this->Lang('always') ];

'auto' has to be changed to 'automatic'.

Spelling mistake in the same file still exists for 'Validate Email Adress':
$prefs['validate_email'] = $this->GetPrefernce('validate_email');  

has to be:
$prefs['validate_email'] = $this->GetPreference('validate_email');  


History