]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/task_functions.php
More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / libs / task_functions.php
index 5656d7523cd110ff1d7de3dd224c23667d1ab30c..585517a42651acf45dbb42293989ca34a34bd778 100644 (file)
@@ -79,7 +79,7 @@ function outputAdvancedOverview (&$result_main) {
                        'purged_mails','purged_bonus_mails'
                ) as $entry) {
                // Set it to zero
-               $content[$entry] = '0';
+               $content[$entry] = 0;
        } // END - foreach
 
        // Extension updates found
@@ -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>";