Code standards

This commit is contained in:
fabrixxm 2018-11-21 16:36:29 +01:00 committed by Hypolite Petovan
parent ea0cd6c919
commit cbb5124d59
4 changed files with 5 additions and 5 deletions

View file

@ -150,7 +150,7 @@ class Photo extends BaseModule
}
$photo = MPhoto::selectFirst([], ["scale" => $scale, "uid" => $uid, "profile" => 1]);
if ($photo===false) {
if ($photo === false) {
$photo = MPhoto::createPhotoForSystemResource($default);
}
return $photo;