Skip to content
Snippets Groups Projects
Commit 68de401a authored by Uma's avatar Uma
Browse files

Fixes #1206 Calendar feed colors are made consistent

parent b7e9763b
No related branches found
No related tags found
1 merge request!486Fixes #1206 Calendar feed colors are made consistent
......@@ -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);
  • Contributor

    @uma.s Where is $key defined? It is not anywhere else in this function. In the foreach loop it is $k and $v...

  • Please register or sign in to reply
  • Author Guest

    @lord_alan Correct, Found this foreach loop to be irrelevant, will be removing this piece of code.

  • Please register or sign in to reply
$request[$key] = implode(',',$value);
}
$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