return;
}
- if (!CRM_Utils_Array::value($prefix, $this->_session[$this->_key])) {
+ if (empty($this->_session[$this->_key][$prefix])) {
$this->_session[$this->_key][$prefix] = array();
}
}
'text' => $text,
'title' => $title,
'type' => $type,
- 'options' => $options ? json_encode($options) : NULL,
+ 'options' => $options ? $options : NULL,
);
}
}