Fix for missing solved tasks
authorRoland Häder <roland@mxchange.org>
Tue, 16 Dec 2008 21:16:52 +0000 (21:16 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 16 Dec 2008 21:16:52 +0000 (21:16 +0000)
inc/databases.php
inc/libs/task_functions.php

index 39abdce..1af5736 100644 (file)
@@ -114,7 +114,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // Current SVN revision
-define('CURR_SVN_REVISION', "637");
+define('CURR_SVN_REVISION', "638");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 76d794d..f251b7c 100644 (file)
@@ -139,7 +139,7 @@ function OUTPUT_ADVANCED_OVERVIEW (&$result_main)
        //
        // Solved tasks
        //
-       $value = GET_TOTAL_DATA("CLOSED", "task_system", "id", "status", true, sprintf(" AND assigned_admin=%s", GET_ADMIN_ID(get_session('admin_login'))));
+       $value = GET_TOTAL_DATA("SOLVED", "task_system", "id", "status", true, sprintf(" AND assigned_admin=%s", GET_ADMIN_ID(get_session('admin_login'))));
 
        if ($value > 0) {
                define('__TASK_SOLVED_VALUE', "<A href=\"".URL."/modules.php?module=admin&amp;what=list_task&amp;type=solved\">".$value."</A>");