Index: typo3/sysext/dbal/class.ux_tx_t3lib_sqlparser.php =================================================================== --- typo3/sysext/dbal/class.ux_t3lib_sqlparser.php 2009-11-02 06:32:52.000000000 +0100 +++ typo3/sysext/dbal/class.ux_t3lib_sqlparser.php 2009-11-02 06:35:06.000000000 +0100 @@ -255,6 +255,7 @@ } // Add additional features: + $noQuote = TRUE; if (is_array($fieldCfg['featureIndex'])) { // MySQL assigns DEFAULT value automatically if NOT NULL, fake this here @@ -293,11 +294,16 @@ $cfg .= ' "\'\'"'; } else { $cfg .= ' ' . $featureDef['value'][1] . $this->compileAddslashes($featureDef['value'][0]) . $featureDef['value'][1]; + if (!is_numeric($featureDef['value'][0])) { + $noQuote = FALSE; + } } } } } - $cfg .= ' NOQUOTE'; + if ($noQuote) { + $cfg .= ' NOQUOTE'; + } break; }