Project

General

Profile

Bug #22243 » 13750_trunk.diff

Administrator Admin, 2010-05-28 13:19

View differences:

class.t3lib_div.php (working copy)
if($quoteActive > -1) {
$paramsArr[$quoteActive] .= ' '.$v;
unset($paramsArr[$k]);
if(preg_match('/"$/', $v)) { $quoteActive = -1; }
if(substr($v, -1)==$paramsArr[$quoteActive][0]) { $quoteActive = -1; }
} elseif(!trim($v)) {
unset($paramsArr[$k]); // Remove empty elements
} elseif(preg_match('/^"/', $v)) {
} elseif(preg_match('/^(["\'])/', $v) && substr($v, -1)!=$v[0]) {
$quoteActive = $k;
}
}
(9-9/10)