]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_birthday.php
Another try to fix bigintval() problem, ticket #114
[mailer.git] / inc / modules / admin / what-config_birthday.php
index 6261ae22d25e30a308a001f0d10437adb49c1e1c..257106d884d62d6884e7e6ab7f051711ff3e1bc5 100644 (file)
@@ -45,7 +45,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR('admin', __FILE__);
 
-if (IS_FORM_SENT()) {
+if (isFormSent()) {
        // Save configuration
        ADMIN_SAVE_SETTINGS_POST();
 } else {
@@ -53,27 +53,27 @@ if (IS_FORM_SENT()) {
        define('__POINTS_VALUE', getConfig('birthday_points'));
        switch (getConfig('birthday_active'))
        {
-       case 'Y':
-               $content['active_yes'] = ' checked="checked"';
-               $content['active_no']  = '';
-               break;
+               case 'Y':
+                       $content['active_yes'] = ' checked="checked"';
+                       $content['active_no']  = '';
+                       break;
 
-       case 'N':
-               $content['active_yes'] = '';
-               $content['active_no']  = ' checked="checked"';
-               break;
+               case 'N':
+                       $content['active_yes'] = '';
+                       $content['active_no']  = ' checked="checked"';
+                       break;
        }
        switch (getConfig('birthday_mode'))
        {
-       case 'DIRECT':
-               $content['mode_direct'] = ' checked="checked"';
-               $content['mode_ref']    = '';
-               break;
+               case 'DIRECT':
+                       $content['mode_direct'] = ' checked="checked"';
+                       $content['mode_ref']    = '';
+                       break;
 
-       case 'REF':
-               $content['mode_direct'] = '';
-               $content['mode_ref']    = ' checked="checked"';
-               break;
+               case 'REF':
+                       $content['mode_direct'] = '';
+                       $content['mode_ref']    = ' checked="checked"';
+                       break;
        }
 
        // Display form