A lot rewrites from double-quote to single-quote, some fixes for extension handling...
[mailer.git] / inc / modules / guest / what-confirm.php
index 5ef60b9c4e89752adb59d785319481e1ece677b0..052eea42e1aefb8537e91eed933f89aa514bc2c4 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Add description as navigation point
-ADD_DESCR("guest", __FILE__);
+ADD_DESCR('guest', __FILE__);
 
 if (REQUEST_ISSET_GET(('hash'))) {
        // Initialize the user ID
@@ -87,7 +87,7 @@ if (REQUEST_ISSET_GET(('hash'))) {
                                        }
 
                                        // If version matches add ref bonus to refid's account
-                                       if ((GET_EXT_VERSION("bonus") >= "0.4.4") && (getConfig('bonus_active') == "Y")) {
+                                       if ((GET_EXT_VERSION('bonus') >= '0.4.4') && (getConfig('bonus_active') == 'Y')) {
                                                // Add points (directly only!)
                                                SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET bonus_ref=bonus_ref+%s WHERE userid=%s LIMIT 1",
                                                        array(getConfig('bonus_ref'), bigintval($rid)), __FILE__, __LINE__);
@@ -102,7 +102,7 @@ if (REQUEST_ISSET_GET(('hash'))) {
                                } // END - if
                        } // END - if
 
-                       if (EXT_IS_ACTIVE("rallye")) {
+                       if (EXT_IS_ACTIVE('rallye')) {
                                // Add user to rallye (or not?)
                                RALLYE_AUTOADD_USER(bigintval($uid));
                        } // END - if