'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / modules / admin / what-list_doubler.php
index f27255b6664fc0ef770931e31ea644ebbd6c03b9..c6ffdd6749b61e2cf099874c7de78f408ba59402 100644 (file)
@@ -47,7 +47,7 @@ ADD_DESCR('admin', __FILE__);
 
 if (!REQUEST_ISSET_GET('mode')) {
        // Chosse the overview page as default
-       REQUEST_GET('mode', "overview");
+       REQUEST_GET('mode', 'overview');
 } else {
        // Set table title automatically
        if (!REQUEST_ISSET_GET(('select'))) REQUEST_GET('select', "all");
@@ -61,7 +61,7 @@ switch (REQUEST_GET('mode'))
        case "already":  // Already payed out points
                break;
 
-       case "overview": // General overview page
+       case 'overview': // General overview page
                $SUM_ALREADY = 0; $SUM_WAITING = 0;
                // Number of direct already payouts and referal
                $result = SQL_QUERY("SELECT COUNT(id) FROM `{!_MYSQL_PREFIX!}_doubler` WHERE completed='Y' AND is_ref='N'", __FILE__, __LINE__);