Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp 2022-11-26 23:34:16 +01:00 committed by Philipp
parent e60dfef0d0
commit 3607aa32ca
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
5 changed files with 9 additions and 10 deletions

View file

@ -185,7 +185,7 @@ class Photo
{
$photos = DBA::toArray(
DBA::p(
"SELECT DISTINCT(`album`) AS `albume` FROM `photo` WHERE `uid` = ? AND NOT `photo-type` IN (?, ?)",
"SELECT DISTINCT(`album`) AS `album` FROM `photo` WHERE `uid` = ? AND NOT `photo-type` IN (?, ?)",
$uid,
static::CONTACT_AVATAR,
static::CONTACT_BANNER