break;
default: // Invalid!
- logDebugMessage(__FUNCTION__, __LINE__, sprintf("Invalid mode %s detected.", $mode));
+ logDebugMessage(__FUNCTION__, __LINE__, sprintf('Invalid mode %s detected.', $mode));
break;
}
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?
$content = array();
// Prepare SQL for this row
- $sql = sprintf("UPDATE `{?_MYSQL_PREFIX?}_%s` SET",
+ $sql = sprintf('UPDATE `{?_MYSQL_PREFIX?}_%s` SET',
sqlEscapeString($tableName[0])
);