Project

General

Profile

Feature #23051 » 14937_fullQuoteArray.diff

Administrator Admin, 2010-07-17 16:36

View differences:

t3lib/class.t3lib_db.php (working copy)
$noQuote = FALSE;
}
foreach($arr as $k => $v) {
if ($noQuote === FALSE || !in_array($k, $noQuote)) {
$arr[$k] = $this->fullQuoteStr($v, $table);
$fields = array_keys($this->cache_fieldType[$table]);
foreach ($arr as $key => $value) {
if (in_array($key, $fields)) {
if ($noQuote === FALSE || !in_array($key, $noQuote)) {
$arr[$key] = $this->fullQuoteStr($value, $table);
}
} else {
unset($arr[$key]);
}
}
return $arr;
(5-5/5)