From: Roland Häder Date: Tue, 16 Dec 2008 21:16:52 +0000 (+0000) Subject: Fix for missing solved tasks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=310ab1fd53100627fa054ea5579f283ed77bfaec;p=mailer.git Fix for missing solved tasks --- diff --git a/inc/databases.php b/inc/databases.php index 39abdceaec..1af5736fd9 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -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); diff --git a/inc/libs/task_functions.php b/inc/libs/task_functions.php index 76d794d9cc..f251b7c278 100644 --- a/inc/libs/task_functions.php +++ b/inc/libs/task_functions.php @@ -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', "".$value."");