]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_task.php
Yet another bunch of EL/surfbar fixes
[mailer.git] / inc / modules / admin / what-list_task.php
index 92f4ea9321ded0a1d40f0ea368312c1589ac1483..206b4777e53303f51e0995b4b24fd3354a6742e3 100644 (file)
@@ -112,7 +112,7 @@ ORDER BY
                                        SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `assigned_admin`=0 WHERE `id`=%s AND `assigned_admin`=%s LIMIT 1",
                                                array(bigintval($id), getCurrentAdminId()), __FILE__, __LINE__);
                                } // END - foreach
-                       } elseif (isPostRequestParameterSet('del')) {
+                       } elseif (isFormSent('del')) {
                                // Delete tasks
                                foreach (postRequestParameter('sel') as $id => $sel) {
                                        if (getRequestParameter('type') == 'deleted') {
@@ -126,7 +126,7 @@ ORDER BY
                                } // END - foreach
                        } else {
                                // Unknown action performed
-                               debug_report_bug(sprintf("Unknown task action performed. data=<pre>%s</pre>", print_r(postRequestArray(), true)));
+                               debug_report_bug(__FILE__, __LINE__, sprintf("Unknown task action performed. data=<pre>%s</pre>", print_r(postRequestArray(), true)));
                        }
 
                        // Update query