`task_created` DESC",
array(getCurrentAdminId()), __FILE__, __LINE__);
- if (SQL_NUMROWS($result_tasks) > 0) {
+ if (!SQL_HASZERONUMS($result_tasks)) {
// New jobs found!
$jobsDone = false;
} // END - if
SQL_FREERESULT($result_lines);
if ($lines == '0') {
// New extension found
- $OUT .= loadTemplate('admin_ext_reg_form', true, array(
+ $OUT .= loadTemplate('admin_extension_reg_form', true, array(
'id' => bigintval($id),
'ext_name' => $ext_name
));