1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Fixed typo in prefs.php, which resulted in an empty pref post_scripts

Added check&update for pref post_scripts in 2.1.8 update routine
This commit is contained in:
Achim Ennenbach
2018-07-13 22:45:41 +02:00
parent 26d72ff21e
commit 8fea5fa53e
2 changed files with 15 additions and 4 deletions

View File

@@ -1210,9 +1210,7 @@ if ($savePrefs) $core_pref->setPref($pref)->save(false, true);
<tr>
<td><label for='post-script'>".PRFLAN_215.":</label></td>
<td>
".//r_userclass('post_script',$pref['post_script'],'off','nobody,member,admin,main,classes')
$e_userclass->uc_dropdown('post_script',$pref['post_script'],'off','nobody,admin,main,classes,no-excludes')
."
".$e_userclass->uc_dropdown('post_script',$pref['post_script'],'nobody,admin,main,classes,no-excludes')."
<div class='smalltext field-help'>".PRFLAN_216."</div>
</td>
</tr>