Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / libs / task_functions.php
index 5656d7523cd110ff1d7de3dd224c23667d1ab30c..08adc665b24d79c53a4d282c33992a0e47f80d82 100644 (file)
@@ -39,7 +39,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 //
 // The advanced overview shows detailed informations to your exchange script:
@@ -116,7 +116,7 @@ function outputAdvancedOverview (&$result_main) {
        //
        // Unassigned tasks
        //
-       $value = countSumTotalData('0', 'task_system', 'id', 'assigned_admin', true, " AND `status` != 'DELETED'");
+       $value = countSumTotalData(0, 'task_system', 'id', 'assigned_admin', true, " AND `status` != 'DELETED'");
 
        if ($value > 0) {
                $content['new_tasks'] = "<a href=\"{?URL?}/modules.php?module=admin&amp;what=list_task&amp;type=unassigned\">".$value."</a>";
@@ -580,7 +580,7 @@ function createExtraTaskRows ($WHATs, $DESCRs, $TITLEs) {
                                if (empty($TITLEs[$key])) $TITLEs[$key] = getMessage('ADMIN_TASK_UNKNOWN_LIST_TITLE');
                                $content['row_link'] = "<a href=\"{?URL?}/modules.php?module=admin&amp;what=".$WHATs[$key]."\" title=\"".$TITLEs[$key]."\">".$value."</a>";
                        } else {
-                               $content['row_link'] = 0;
+                               $content['row_link'] = '0';
                        }
 
                        // And insert the final string into extras template