mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 13:15:14 +00:00
fix boolean
This commit is contained in:
parent
ee38bebbd6
commit
bcaa32a83a
1 changed files with 1 additions and 1 deletions
|
@ -1160,7 +1160,7 @@ function photos_content(&$a) {
|
|||
//$o = '';
|
||||
|
||||
$r = q("SELECT `resource_id`, max(`scale`) AS `scale` FROM `photo` WHERE `uid` = %d AND `album` != '%s' AND `album` != '%s'
|
||||
and ((photo_flags = %d) or (photo_flags & %d)) $sql_extra GROUP BY `resource_id`",
|
||||
and ((photo_flags = %d) or (photo_flags & %d) > 0) $sql_extra GROUP BY `resource_id`",
|
||||
intval($a->data['channel']['channel_id']),
|
||||
dbesc('Contact Photos'),
|
||||
dbesc( t('Contact Photos')),
|
||||
|
|
Loading…
Reference in a new issue