correction gros bug dans structure

This commit is contained in:
Damien LASSERRE 2012-03-12 13:52:14 +00:00
parent 78c4d98eee
commit 75e6913ccf

View File

@ -658,14 +658,14 @@ Class Fields
$val = $session->getCriteres();
}
$values = array();
foreach($val as $key => $item)
{
if($item != '') {
if($this->fields[$key]['type'] == 'interval' or
$this->fields[$key]['type'] == 'intervalSelect' or
$this->fields[$key]['type'] == 'textarea' and
empty($this->fields[$key]['action']))
empty($this->fields[$key]['action']) or $this->fields[$key]['action'] == 'naf')
{
$values[$key] = explode(',', $item);
} else if (!empty($this->fields[$key]['action'])) {