]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-extensions.php
Introduced padLeftZero()
[mailer.git] / inc / modules / admin / what-extensions.php
index 678d58eb9d0a14f9face2027abd29217e3287aee..077f255a4d8b52d44e681890eb352a9a3db2b5d4 100644 (file)
@@ -340,7 +340,7 @@ ORDER BY
                $numTasks = countSumTotalData(getCurrentAdminId(), 'task_system', 'id', 'assigned_admin', TRUE, "AND `task_type`='EXTENSION'");
 
                // Is the id number valid and the task was found?
-               if (($taskId > 0) && ($numTasks > 0)) {
+               if ((isValidId($taskId)) && ($numTasks > 0)) {
                        // id is valid so begin with registration, we first want to it's real name from task management (subject column)
                        $result = SQL_QUERY_ESC("SELECT `subject` FROM `{?_MYSQL_PREFIX?}_task_system` WHERE `id`=%s LIMIT 1",
                                array(bigintval($taskId)), __FILE__, __LINE__);