mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +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]);
|
||||
|
||||
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