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