-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
You have in your code:
$res = safe_query("INSERT INTO task (name,owner) VALUES ('_NEW_','".$mysession['userid']."');");
The task table, however, requires NOT NULL values for descr, instructions, ranges. Also, the task name here is a default one - _NEW_
.
It seems that tasks cannot be created.
I get an exception from MySQL:
Query failed:
errorno=1364
error=Field 'descr' doesn't have a default value
query=INSERT INTO task (name,owner) VALUES ('_NEW_','0');
Metadata
Metadata
Assignees
Labels
No labels