X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-manager.php;h=ebb1aeb4362d4d86cdc568df5b88d6e792d0edc7;hb=64eecfb13d8618ddcf0e9d53920a21b0401b3971;hp=e8e897fed4da668fb3a47a546982e05d884e1284;hpb=9fa8a3a6f619820548a44d571e3ed96672a62da6;p=mailer.git diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index e8e897fed4..ebb1aeb436 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -1724,8 +1724,8 @@ function createNewTask ($subject, $notes, $taskType, $userid = NULL, $adminId = // 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