When I press the "Add New Task" button after completing
the details for a new task, I get the following error:
<error>
Notice: Undefined index: assigned in
/srv/www/htdocs/timesheet/task_action.php on line 23
Warning: Cannot modify header information - headers
already sent by (output started at
/srv/www/htdocs/timesheet/task_action.php:23) in
/srv/www/htdocs/timesheet/task_action.php on line 47
</error>
It does appear to create the task.
I am using version 1.2.0
Any help will be very greatly appreciated.
Kind regards,
Karl
Logged In: YES
user_id=815849
I have just discovered that this only appears to happen is
no users are selected to be assigned to the task.
Logged In: YES
user_id=778075
Change the following in task_action.php :
replace line 23:
$assigned = $_REQUEST["assigned"];
with:
$assigned = isset($_REQUEST['assigned']) ?
$_REQUEST['assigned']: array();
It seems to fix that general problem.
I pulled this from proj_action.php
Scott
Logged In: YES
user_id=377918
I've fixed it in CVS now. It will be in the next release (1.2.1)
Could someone please contribute their time to go over these
setup dialogs and do javascript validation?