Bug #20470 » 11142.diff
typo3/sysext/dbal/class.ux_t3lib_sqlengine.php (working copy) | ||
---|---|---|
}
|
||
// Add additional features:
|
||
$noQuote = true;
|
||
if (is_array($fieldCfg['featureIndex'])) {
|
||
// MySQL assigns DEFAULT value automatically if NOT NULL, fake this here
|
||
... | ... | |
$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;
|
||
}
|
||
... | ... | |
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/dbal/class.ux_t3lib_sqlengine.php']);
|
||
}
|
||
?>
|
||
?>
|