From: Ernesto Baschny Date: Fri, 29 Oct 2010 08:05:03 +0000 (+0000) Subject: Fixed bug #16155: t3lib_db::INSERTquery misses a space when generering the INSERT... X-Git-Tag: TYPO3_4-5-0beta1~233 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/190c238a29355a1e71566c82e548e4f4cba1bb07 Fixed bug #16155: t3lib_db::INSERTquery misses a space when generering the INSERT INTO statement git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9218 709f56b5-9817-0410-a4d7-c38de5d9e867 --- diff --git a/ChangeLog b/ChangeLog index 64748be1dd58..d6dbc411d373 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-10-29 Ernesto Baschny + + * Fixed bug #16155: t3lib_db::INSERTquery misses a space when generering the INSERT INTO statement + 2010-10-28 Steffen Kamper * Follow-up to #15745: Integrate generic notification methods to show windows and dialogs based on ExtJS diff --git a/t3lib/class.t3lib_db.php b/t3lib/class.t3lib_db.php index 00b1bdfd4081..8f63aff511f5 100644 --- a/t3lib/class.t3lib_db.php +++ b/t3lib/class.t3lib_db.php @@ -432,7 +432,7 @@ class t3lib_DB { // Build query: $query = 'INSERT INTO ' . $table . - '(' . implode(',', array_keys($fields_values)) . ') VALUES ' . + ' (' . implode(',', array_keys($fields_values)) . ') VALUES ' . '(' . implode(',', $fields_values) . ')'; // Return query: