Code standards

This commit is contained in:
fabrixxm 2018-11-22 16:57:41 +01:00 committed by Hypolite Petovan
commit 6f59c82978
2 changed files with 3 additions and 3 deletions

View file

@ -690,7 +690,7 @@ function photos_post(App $a)
* they acquire comments, likes, dislikes, and/or tags
*/
$r = Photo::select([], ["`album` = ? AND `uid` = ? AND `created` > UTC_TIMESTAMP() - INTERVAL 3 HOUR", $album, $page_owner_uid]);
$r = Photo::select([], ['`album` = ? AND `uid` = ? AND `created` > UTC_TIMESTAMP() - INTERVAL 3 HOUR', $album, $page_owner_uid]);
if (!DBA::isResult($r) || ($album == L10n::t('Profile Photos'))) {
$visible = 1;