Fixes #1206 Calendar feed colors are made consistent
Merge request reports
Activity
Filter activity
55 55 try { 56 56 foreach ($request as $k => $v) { 57 57 if ($k == 'conditions' || $k == 'mapping') continue; 58 59 if ($k == 'fieldname' && $v) { 60 $vp = explode(',', $v); 61 $v = array(); 62 foreach ($vp as $p) $v[] = $this->valForSql($p); 63 $request[$k] = implode(',', $v); 64 } else { 65 $request[$k] = $this->valForSql($v); 66 } 58 $param = explode(',', $request[$key]); 59 $value = $this->valForSql($param); @uma.s Where is $key defined? It is not anywhere else in this function. In the foreach loop it is $k and $v...
55 55 try { 56 56 foreach ($request as $k => $v) { 57 57 if ($k == 'conditions' || $k == 'mapping') continue; 58 59 if ($k == 'fieldname' && $v) { 60 $vp = explode(',', $v); 61 $v = array(); 62 foreach ($vp as $p) $v[] = $this->valForSql($p); 63 $request[$k] = implode(',', $v); 64 } else { 65 $request[$k] = $this->valForSql($v); 66 } 58 $param = explode(',', $request[$key]); 59 $value = $this->valForSql($param); @lord_alan Correct, Found this foreach loop to be irrelevant, will be removing this piece of code.
Please register or sign in to reply