// Initialize array...
$CATS = array(
- 'id' => array(),
- 'name' => array(),
+ 'id' => array(),
+ 'name' => array(),
'userids' => array()
);
// Insert the task data into the database
SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_task_system` (`assigned_admin`,`userid`,`status`,`task_type`,`subject`,`text`,`task_created`) VALUES (%s,%s,'NEW','%s','%s','%s', UNIX_TIMESTAMP())",
array(
- makeZeroToNull($adminId),
- makeZeroToNull($userid),
+ convertZeroToNull($adminId),
+ convertZeroToNull($userid),
$taskType,
$subject,
$notes