]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_payouts.php
More double- to single-quotes rewritten
[mailer.git] / inc / modules / admin / what-list_payouts.php
index 03cb3d3457edc8d65f65adb9885178b93ec1a8e4..90b60ed755b574599659f18647a74bdd58bcefba 100644 (file)
@@ -38,7 +38,7 @@
 
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
-       $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);
 }
 
@@ -222,7 +222,7 @@ ORDER BY p.payout_timestamp DESC", __FILE__, __LINE__);
        if (SQL_NUMROWS($result) > 0) {
                // List found payouts
                $OUT = ''; $SW = 2;
-               while ($content = SQL_FETCHROW($result)) {
+               while ($content = SQL_FETCHARRAY($result)) {
                        if ($content['status'] == "NEW") {
                                // Generate links for direct accepting and rejecting
                                $content['status'] = "<a href=\"{!URL!}/modules.php?module=admin&amp;what=list_payouts&amp;do=accept&amp;pid=".$content['id']."\">".PAYOUT_ACCEPT_PAYOUT."</a>&nbsp;|&nbsp;<a href=\"{!URL!}/modules.php?module=admin&amp;what=list_payouts&amp;do=reject&amp;pid=".$content['id']."\">".PAYOUT_REJECT_PAYOUT."</a>";
@@ -247,8 +247,8 @@ ORDER BY p.payout_timestamp DESC", __FILE__, __LINE__);
                                $content['target_bank'] = "<a href=\"".FRAMETESTER($content['url'])."\" target=\"_blank\">{--CLICK_HERE--}</a>";
                        } else {
                                // e-currency payout request
-                               if (empty($content['target_account'])) $content['target_account'] = "---";
-                               if (empty($content['target_bank']))    $content['target_bank']    = "---";
+                               if (empty($content['target_account'])) $content['target_account'] = '---';
+                               if (empty($content['target_bank']))    $content['target_bank']    = '---';
                        }
 
                        // Remember data in array for the template