X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-manager.php;h=b05768a24c75634a1b9bc53cf1b15c260ad11248;hb=a85719f860bc786bd05a37c880cb1ef02bbd07cc;hp=c26a12b991c15b93a9df2ac7756cf8b79b7fca2f;hpb=6a7be5e69b894d458efd287698882a0291ee2fe0;p=mailer.git diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index c26a12b991..b05768a24c 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -658,7 +658,7 @@ function addMaxReceiveList ($mode, $default = '') { break; default: // Invalid! - logDebugMessage(__FUNCTION__, __LINE__, sprintf("Invalid mode %s detected.", $mode)); + logDebugMessage(__FUNCTION__, __LINE__, sprintf('Invalid mode %s detected.', $mode)); break; } @@ -1789,7 +1789,7 @@ function generateReceiverList ($categoryId, $receiver, $mode = '') { if (isValidId($categoryId)) { // Select category $extraColumns = "LEFT JOIN `{?_MYSQL_PREFIX?}_user_cats` AS `c` ON `d`.`userid`=`c`.`userid`"; - $addWhere = sprintf(" AND `c`.`cat_id`=%s", $categoryId); + $addWhere = sprintf(' AND `c`.`cat_id`=%s', $categoryId); } // END - if // Exclude users in holiday? @@ -2188,7 +2188,7 @@ function doGenericEditEntriesConfirm ($tableName, $columns = array(), $filterFun $content = array(); // Prepare SQL for this row - $sql = sprintf("UPDATE `{?_MYSQL_PREFIX?}_%s` SET", + $sql = sprintf('UPDATE `{?_MYSQL_PREFIX?}_%s` SET', sqlEscapeString($tableName[0]) );