mirror of
https://github.com/getgrav/grav.git
synced 2026-02-04 22:00:13 +01:00
Fixed join() in flex user
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user