X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Ftask_functions.php;h=d01582467be2939738018496214062c640b5e080;hp=ecca7689d4edbb7b306b2d9e556fb46fd66c7698;hb=155492a5b96cec674846973a8524238b0365a848;hpb=da5c63bacddced77a951cbe7b223f314885a6c87
diff --git a/inc/libs/task_functions.php b/inc/libs/task_functions.php
index ecca7689d4..d01582467b 100644
--- a/inc/libs/task_functions.php
+++ b/inc/libs/task_functions.php
@@ -557,7 +557,7 @@ function createExtraTaskRows ($WHATs, $DESCRs, $TITLEs) {
// New format...
foreach ($sqls as $key => $sql) {
// Run SQL command, get line numbers and free memory
- $result = SQL_QUERY($sql, __FUNCTION__, __LINE__);
+ $result = sqlQuery($sql, __FUNCTION__, __LINE__);
// Prepare array for output
$content = array(
@@ -570,17 +570,17 @@ function createExtraTaskRows ($WHATs, $DESCRs, $TITLEs) {
$content['bottom'] = 'bottom';
} // END - if
- if ((!SQL_HASZERONUMS($result)) && (!empty($WHATs[$key]))) {
+ if ((!ifSqlHasZeroNums($result)) && (!empty($WHATs[$key]))) {
if (empty($TITLEs[$key])) {
$TITLEs[$key] = '{--ADMIN_TASK_UNKNOWN_LIST_TITLE--}';
} // END - if
- $content['row_link'] = '' . SQL_NUMROWS($result) . '';
+ $content['row_link'] = '' . sqlNumRows($result) . '';
} else {
$content['row_link'] = '0';
}
// Free result
- SQL_FREERESULT($result);
+ sqlFreeResult($result);
// And insert the final string into extras template
$OUT .= loadTemplate('admin_overview_task_rows', TRUE, $content);