Bug #22243 » 13750_r7477.diff
t3lib/class.t3lib_div.php (Arbeitskopie) | ||
---|---|---|
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;
|
||
}
|
||
}
|