Fixes #1206 Calendar feed colors are made consistent
parent
b7e9763b
No related branches found
No related tags found
... | ... | @@ -55,15 +55,9 @@ class Calendar_Feed_Action extends Vtiger_BasicAjax_Action { |
try { | ||
foreach ($request as $k => $v) { | ||
if ($k == 'conditions' || $k == 'mapping') continue; | ||
if ($k == 'fieldname' && $v) { | ||
$vp = explode(',', $v); | ||
$v = array(); | ||
foreach ($vp as $p) $v[] = $this->valForSql($p); | ||
$request[$k] = implode(',', $v); | ||
} else { | ||
$request[$k] = $this->valForSql($v); | ||
} | ||
$param = explode(',', $request[$key]); | ||
$value = $this->valForSql($param); | ||
|
||
$request[$key] = implode(',',$value); | ||
} | ||
$start = $request['start']; | ||
... | ... |