diff --git a/src/Module/Photo.php b/src/Module/Photo.php index f65ca698b..5bc931dae 100644 --- a/src/Module/Photo.php +++ b/src/Module/Photo.php @@ -150,7 +150,7 @@ class Photo extends BaseModule $photo = MPhoto::selectFirst([], ["scale" => $scale, "uid" => $uid, "profile" => 1]); if ($photo===false) { - // todo default image info + $photo = MPhoto::createPhotoForSystemResource($default); } return $photo; }