correction gros bug dans structure
This commit is contained in:
parent
78c4d98eee
commit
75e6913ccf
@ -658,14 +658,14 @@ Class Fields
|
|||||||
$val = $session->getCriteres();
|
$val = $session->getCriteres();
|
||||||
}
|
}
|
||||||
$values = array();
|
$values = array();
|
||||||
|
|
||||||
foreach($val as $key => $item)
|
foreach($val as $key => $item)
|
||||||
{
|
{
|
||||||
if($item != '') {
|
if($item != '') {
|
||||||
if($this->fields[$key]['type'] == 'interval' or
|
if($this->fields[$key]['type'] == 'interval' or
|
||||||
$this->fields[$key]['type'] == 'intervalSelect' or
|
$this->fields[$key]['type'] == 'intervalSelect' or
|
||||||
$this->fields[$key]['type'] == 'textarea' and
|
$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);
|
$values[$key] = explode(',', $item);
|
||||||
} else if (!empty($this->fields[$key]['action'])) {
|
} else if (!empty($this->fields[$key]['action'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user