mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Fixed join() in flex user
This commit is contained in:
parent
e401c683f5
commit
dfd75efbe5
|
|
@ -245,6 +245,7 @@ class User extends FlexObject implements UserInterface, MediaManipulationInterfa
|
|||
*/
|
||||
public function join($name, $value, $separator = null)
|
||||
{
|
||||
$separator = $separator ?? '.';
|
||||
$old = $this->get($name, null, $separator);
|
||||
if ($old !== null) {
|
||||
if (!\is_array($old)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user