]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/task_functions.php
New extension added, ext-uberwach rewritten (unfinished), some fixes
[mailer.git] / inc / libs / task_functions.php
index 5656d7523cd110ff1d7de3dd224c23667d1ab30c..9327c3056ea4bfffbc04c75ad344afef1e731fe5 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:
@@ -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>";