Feature #23051 » quoteFieldsInArray.diff
class.t3lib_db.php (working copy) | ||
---|---|---|
$noQuote = FALSE;
|
||
}
|
||
$fields = $this->admin_get_fields($table);
|
||
foreach($arr as $k => $v) {
|
||
if ($noQuote === FALSE || !in_array($k, $noQuote)) {
|
||
$arr[$k] = $this->fullQuoteStr($v, $table);
|
||
if(in_array($k, $fields)) {
|
||
if ($noQuote === FALSE || !in_array($k, $noQuote)) {
|
||
$arr[$k] = $this->fullQuoteStr($v, $table);
|
||
}
|
||
} else {
|
||
unset($arr[$k]);
|
||
}
|
||
}
|
||
return $arr;
|