From: Roland Häder Date: Sat, 13 Aug 2011 21:29:38 +0000 (+0000) Subject: Space is to much here X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3b561483a13346637dcd6dcb2a055f899a8ced62;p=mailer.git Space is to much here --- diff --git a/inc/sql-functions.php b/inc/sql-functions.php index 75118871d7..a4bf3ee88d 100644 --- a/inc/sql-functions.php +++ b/inc/sql-functions.php @@ -147,13 +147,13 @@ function getUpdateSqlFromArray ($array, $tableName, $whereColumn, $whereData, $e $SQL .= '`' . $entry . '`=' . $value . ','; } else { // Strings need ticks (') around them - $SQL .= '`' . $entry . "`='" . SQL_ESCAPE($value) . "', "; + $SQL .= '`' . $entry . "`='" . SQL_ESCAPE($value) . "',"; } } else { // Handle multi-dimensional data if (is_null($value[$multiDimId])) { // NULL detected - $SQL .= '`' . $entry . '`=NULL, '; + $SQL .= '`' . $entry . '`=NULL,'; } elseif (('' . bigintval($value[$multiDimId], true, false) . '' == '' . $value[$multiDimId] . '') || ($value[$multiDimId] == 'NOW()') || (substr($value[$multiDimId], 0, 1) == '`')) { // No need for ticks (') $SQL .= '`' . $entry . '`=' . $value[$multiDimId] . ',';