]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
useProxy is duplicate, because isProxyUsed() is cached, fixed bug in IP resolver...
[mailer.git] / inc / mysql-manager.php
index e8e897fed4da668fb3a47a546982e05d884e1284..2b879de773f2d4efce72164d78e206ed41886951 100644 (file)
@@ -1494,8 +1494,8 @@ function generateCategoryOptionsList ($mode) {
 
        // Initialize array...
        $CATS = array(
-               'id'   => array(),
-               'name' => array(),
+               'id'      => array(),
+               'name'    => array(),
                'userids' => array()
        );
 
@@ -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