Skip to content
Snippets Groups Projects
Commit d934fe70 authored by Prasad's avatar Prasad
Browse files

Cleanup fixed for in calendar feed

parent 3b30dbea
No related branches found
No related tags found
1 merge request!1update
......@@ -55,7 +55,15 @@ class Calendar_Feed_Action extends Vtiger_BasicAjax_Action {
try {
foreach ($request as $k => $v) {
if ($k == 'conditions' || $k == 'mapping') continue;
$request[$k] = $this->valForSql($v);
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);
}
}
$start = $request['start'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment