]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-register.php
A lot double-quotes rewritten to single-quotes, global fix for getMessage() calls
[mailer.git] / inc / modules / guest / what-register.php
index 6e3645427eaaf96c4a602aa0732387163c72ff48..713787e4695764a986aa1afdfe64709d4f65ec96 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 } elseif ((!EXT_IS_ACTIVE('register'))) {
-       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'register');
+       addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'register'));
        return;
 }
 
@@ -94,7 +94,7 @@ if (IS_FORM_SENT()) {
        // First we only check the submitted data then we continue... :)
        //
        // Did he agree to our Terms Of Usage?
-       if (REQUEST_POST('agree') != "Y") {
+       if (REQUEST_POST('agree') != 'Y') {
                REQUEST_SET_POST('agree', "!");
                $FAILED = true;
        } // END - if
@@ -203,7 +203,7 @@ if ((IS_FORM_SENT()) && ((!$FAILED) || (IS_ADMIN()))) {
        // First comes first: begging rallye
        if (GET_EXT_VERSION('beg') >= '0.1.7') {
                // Okay, shall I disable now?
-               if (getConfig('beg_new_mem_notify') != "Y") {
+               if (getConfig('beg_new_mem_notify') != 'Y') {
                        $ADD1 .= ", beg_ral_notify, beg_ral_en_notify";
                        $ADD2 .= ", UNIX_TIMESTAMP(), UNIX_TIMESTAMP()";
                } // END - if
@@ -212,7 +212,7 @@ if ((IS_FORM_SENT()) && ((!$FAILED) || (IS_ADMIN()))) {
        // Second: active rallye
        if (GET_EXT_VERSION('bonus') >= '0.7.7') {
                // Okay, shall I disable now?
-               if (getConfig('bonus_new_mem_notify') != "Y") {
+               if (getConfig('bonus_new_mem_notify') != 'Y') {
                        $ADD1 .= ", bonus_ral_notify, bonus_ral_en_notify";
                        $ADD2 .= ", UNIX_TIMESTAMP(), UNIX_TIMESTAMP()";
                } // END - if