Fixed join() in flex user

This commit is contained in:
Matias Griese 2019-04-10 20:59:13 +03:00
parent e401c683f5
commit dfd75efbe5

View File

@ -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)) {