Skip to content

Commit 9b98676

Browse files
committed
Missing avatar must be an empty string (required by PmInputFilter)
1 parent 38ac4e4 commit 9b98676

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ProcessMaker/Models/User.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public function getAvatar()
284284
{
285285
$media = $this->getMedia(self::COLLECTION_PROFILE);
286286
$lastUpload = $media->last();
287-
$url = $lastUpload ? $lastUpload->getFullUrl() : null;
287+
$url = $lastUpload ? $lastUpload->getFullUrl() : "";
288288
return $url;
289289
}
290290

0 commit comments

Comments
 (0)