mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
This commit is contained in:
commit
1f142fde8a
|
@ -285,6 +285,7 @@ class CustomField extends Model
|
|||
*/
|
||||
public function formatFieldValuesAsArray()
|
||||
{
|
||||
$result = [];
|
||||
$arr = preg_split("/\\r\\n|\\r|\\n/", $this->field_values);
|
||||
|
||||
if (($this->element!='checkbox') && ($this->element!='radio')) {
|
||||
|
|
Loading…
Reference in a new issue