From: Jason Woofenden Date: Thu, 8 Jan 2009 04:54:15 +0000 (-0500) Subject: clicking "I'm starting now" leaves you looking at that task (instead of bringing... X-Git-Url: https://jasonwoof.com/gitweb/?p=contractor-progress.git;a=commitdiff_plain;h=8e555251011a5b27130eecfe5b06cf1fb7d2d601 clicking "I'm starting now" leaves you looking at that task (instead of bringing you to the main page) --- diff --git a/tasks.php b/tasks.php index e4a8b50..ed35222 100644 --- a/tasks.php +++ b/tasks.php @@ -355,8 +355,8 @@ function tasks_edit_main() { return './'; } db_update('tasks', 'state', TASK_WORKING, 'where id=%i', $id); - message('OK, client locked out of modifying that one.'); - return './'; + message('Task marked as "in progress".'); + return './tasks?tasks_id=' . $id; } if(isset($_REQUEST['tasks_needs_testing_id'])) {