Wrapper function isAdminsExpertWarningEnabled() introduced
[mailer.git] / inc / modules / admin / admin-inc.php
index 28859baee029559b8414b2c2355d22c96cc21e37..f5a70264af536ecb155eccc65ca7de42dc8de978 100644 (file)
@@ -1311,7 +1311,7 @@ function doVerifyExpertSettings () {
                // Is he allowed?
                if ($expertSettings == 'Y') {
                        // Okay, does he want to see them?
-                       if (getAminsExpertWarning() == 'Y') {
+                       if (isAdminsExpertWarningEnabled()) {
                                // Ask for them
                                if (isFormSent()) {
                                        // Is the element set, then we need to change the admin