Skip to content

Commit a4801a6

Browse files
committed
bugfix for set of custom_profile fields
1 parent 151fec5 commit a4801a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Authentication/Classes/CustomProfile/Repository/CustomProfileRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class CustomProfileRepository
1717

1818
public function __construct($profile_id)
1919
{
20-
$this->profile_id = $profile_id;
20+
$this->profile_id = is_array($profile_id) ? array_shift($profile_id) : $profile_id;
2121
}
2222

2323
public static function getAllTypes()

0 commit comments

Comments
 (0)