We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 151fec5 commit a4801a6Copy full SHA for a4801a6
app/Authentication/Classes/CustomProfile/Repository/CustomProfileRepository.php
@@ -17,7 +17,7 @@ class CustomProfileRepository
17
18
public function __construct($profile_id)
19
{
20
- $this->profile_id = $profile_id;
+ $this->profile_id = is_array($profile_id) ? array_shift($profile_id) : $profile_id;
21
}
22
23
public static function getAllTypes()
0 commit comments