mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 22:18:40 +00:00
Add getter for json and list data
This commit is contained in:
parent
aaf7c71628
commit
a4f0d7c13b
|
|
@ -214,7 +214,11 @@ abstract class RequestAbstract implements MessageInterface
|
||||||
|
|
||||||
$list = \explode($delim, $this->data[$key]);
|
$list = \explode($delim, $this->data[$key]);
|
||||||
|
|
||||||
return $list === false ? [] : \trim($list);
|
foreach ($list as $i => $e) {
|
||||||
|
$list[$i] = \trim($e);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $list === false ? [] : $list;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user