X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_transfer.php;h=90ec40b5412935e56050037e4f9d728f2f5dbcf4;hb=1ba8d9449de1b6fea32e88d581fb7c121b0522b1;hp=57c9ed6d812208df9fd56413981c9722c059a1ae;hpb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86;p=mailer.git diff --git a/inc/modules/admin/what-list_transfer.php b/inc/modules/admin/what-list_transfer.php index 57c9ed6d81..90ec40b541 100644 --- a/inc/modules/admin/what-list_transfer.php +++ b/inc/modules/admin/what-list_transfer.php @@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { addYouAreHereLink('admin', __FILE__); // We only need outgoing transfers -$result = SQL_QUERY('SELECT +$result = sqlQuery('SELECT `userid` AS `from_userid`, `to_userid`, `trans_id`, @@ -57,10 +57,10 @@ ORDER BY `trans_id` ASC', __FILE__, __LINE__); $total = '0'; -if (!SQL_HASZERONUMS($result)) { +if (!ifSqlHasZeroNums($result)) { // Output rows $OUT = ''; - while ($content = SQL_FETCHARRAY($result)) { + while ($content = sqlFetchArray($result)) { // Prepare data for the row template $content['time_trans'] = generateDateTime($content['time_trans'], 3); @@ -70,7 +70,7 @@ if (!SQL_HASZERONUMS($result)) { } // END - while // Free memory - SQL_FREERESULT($result); + sqlFreeResult($result); } else { // Nothing for in and out $OUT = '