X-Git-Url: https://jasonwoof.com/gitweb/?p=contractor-progress.git;a=blobdiff_plain;f=tasks.php;fp=tasks.php;h=71165677a15292170337aef2f15cdefba18bfd53;hp=6d382bc6413fec1df281661ef173f3520ee16a34;hb=5b50b2d1e2eb222ddc6000d68ec612a76347ded9;hpb=fa236b27bfc3bc87902f0a92d0d017b9f2d444be diff --git a/tasks.php b/tasks.php index 6d382bc..7116567 100644 --- a/tasks.php +++ b/tasks.php @@ -328,6 +328,13 @@ function tasks_edit_main() { $state = TASK_BUG; } + if(isset($_REQUEST['tasks_hold_id'])) { + $id = $_REQUEST['tasks_hold_id']; + db_update('tasks', 'state', TASK_ON_HOLD, 'where id=%i', $id); + message("Task removed from Jason's to-do list."); + return './'; + } + if(isset($_REQUEST['tasks_mark_paid_id'])) { if(!logged_in_as_contractor()) { message("Error: only Jason can mark tasks as paid.");