Function renamed

update function calls
This commit is contained in:
Adam Magness 2018-11-09 13:32:45 -05:00
parent 1ac32c622e
commit 4a667f640f
16 changed files with 29 additions and 29 deletions

View file

@ -207,7 +207,7 @@ function remote_permissions_addon_admin(&$a, &$o){
}
function remote_permissions_addon_admin_post(&$a){
$choice = ((x($_POST,'remotepermschoice')) ? Strings::removeTags(trim($_POST['remotepermschoice'])) : '');
$choice = ((x($_POST,'remotepermschoice')) ? Strings::escapeTags(trim($_POST['remotepermschoice'])) : '');
Config::set('remote_perms','global',($choice == 1 ? 1 : 0));
info(L10n::t('Settings updated.'). EOL);
}