X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_transfer.php;h=c2a1d56268ed9af912082ecbccfc7828e2dbf698;hb=d016e24dd4686f613a17733b96bc28fac936a4ac;hp=6eba18c3aaabba0bbbc4a409acb94d60d1d4a9a0;hpb=357b2ca133fc1f89db74097955c366cb4bee6996;p=mailer.git diff --git a/inc/modules/admin/what-list_transfer.php b/inc/modules/admin/what-list_transfer.php index 6eba18c3aa..c2a1d56268 100644 --- a/inc/modules/admin/what-list_transfer.php +++ b/inc/modules/admin/what-list_transfer.php @@ -41,13 +41,13 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']) || (!IS_ADMIN())) { ADD_DESCR("admin", __FILE__); // We only need outgoing transfers -$result = SQL_QUERY("SELECT userid, to_uid, trans_id, points, reason, time_trans FROM "._MYSQL_PREFIX."_user_transfers_out ORDER BY trans_id", __FILE__, __LINE__); +$result = SQL_QUERY("SELECT userid, to_uid, trans_id, points, reason, time_trans FROM `{!_MYSQL_PREFIX!}_user_transfers_out` ORDER BY trans_id", __FILE__, __LINE__); $total = 0; if (SQL_NUMROWS($result) > 0) { // Output rows $OUT = ""; $SW = 2; - while(list($uid1, $uid2, $idx, $points, $reason, $stamp) = SQL_FETCHROW($result)) + while (list($uid1, $uid2, $idx, $points, $reason, $stamp) = SQL_FETCHROW($result)) { // Prepare data for the row template $content = array( @@ -71,11 +71,11 @@ if (SQL_NUMROWS($result) > 0) else { // Nothing for in and out - $OUT = " - + $OUT = " + ".LOAD_TEMPLATE("admin_settings_saved", true, TRANSFER_NO_INOUT_TRANSFERS)." - -"; + +"; } // ... and add them to a constant for the template