X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmysql-manager.php;h=2b879de773f2d4efce72164d78e206ed41886951;hb=262c3e87d0a80ec8a4435b2564d4b666fd329bf6;hp=52d051cd094d6dfb0f7e73a84cc06656311eb14b;hpb=028c126994e6a0ee79f07a9c4a91f2cc4a3bcc56;p=mailer.git diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 52d051cd09..2b879de773 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -368,8 +368,8 @@ ORDER BY // Prepare data $content = array( - 'rows' => $GLOBALS['rows'], - 'mode' => $mode + 'rows' => $GLOBALS['rows'], + 'menu_mode' => $mode ); // Load main template @@ -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