]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-points.php
More double- to single-quotes rewritten
[mailer.git] / inc / modules / member / what-points.php
index fd3c0e1b7e6a6ffc54aa5c4017b3404ace90f74b..b68ddb563ea2d14657f9ec60a1b9624a0f552ab4 100644 (file)
@@ -38,7 +38,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL('modules.php?module=index');
@@ -113,7 +113,7 @@ list($USED, $PAY) = SQL_FETCHROW($result);
 SQL_FREERESULT($result);
 
 // Initialize variables
-$CONFIRMED = "---"; $SENT = "---"; $RECEIVED = "---";
+$CONFIRMED = '---'; $SENT = '---'; $RECEIVED = '---';
 
 // Only user >= v0.1.2: Fetch confirmed mails counter
 if (GET_EXT_VERSION('user') >= '0.1.2') {
@@ -126,11 +126,11 @@ if (GET_EXT_VERSION('user') >= '0.1.2') {
        SQL_FREERESULT($result);
 
        // Please update the user extension if you see 3 dashes
-       if (empty($SENT))     $SENT     = "---";
-       if (empty($RECEIVED)) $RECEIVED = "---";
+       if (empty($SENT))     $SENT     = '---';
+       if (empty($RECEIVED)) $RECEIVED = '---';
 } else {
        // Please update!
-       $CONFIRMED = "---";
+       $CONFIRMED = '---';
 }
 
 // If TLOCK is 0 add 3 zeros for floating
@@ -174,7 +174,7 @@ if ((GET_EXT_VERSION('bonus') >= '0.2.2') && (EXT_IS_ACTIVE('bonus')) && (getCon
 
        // Output rows
        define('__SPECIAL_ROWS', LOAD_TEMPLATE("member_points_bonus_rows", true));
-} elseif (getConfig('bonus_active') != "Y") {
+} elseif (getConfig('bonus_active') != 'Y') {
        // Bonus active rallye deactivated
        define('__SPECIAL_ROWS', LOAD_TEMPLATE("member_points_bonus_disabled", true));
 } elseif ((IS_ADMIN()) && (EXT_VERSION_IS_OLDER('bonus', '0.2.2')) && (EXT_IS_ACTIVE('bonus'))) {