(UNIX_TIMESTAMP() - `task_created`) >= {?ap_tasks_time?}", __FILE__, __LINE__);
// Send out a notification?
- if (!ifSqlHasZeroNums($result)) {
+ if (!ifSqlHasZeroNumRows($result)) {
// Init output and load all rows
$output = ''; $ids = array();
while ($row = sqlFetchArray($result)) {