diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-12-04 20:46:06 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-12-04 20:46:06 +0100 |
commit | 0305983360568f991365cd815d081afedaa6d742 (patch) | |
tree | c2fc3c5a117f5256aac76dce94cf6dd202df2171 /Zotlabs/Module/Photos.php | |
parent | 11c703cb4beb5356c5377147f98bf9caba5c657a (diff) | |
download | volse-hubzilla-0305983360568f991365cd815d081afedaa6d742.tar.gz volse-hubzilla-0305983360568f991365cd815d081afedaa6d742.tar.bz2 volse-hubzilla-0305983360568f991365cd815d081afedaa6d742.zip |
fix another PHP 7.2 warning
Diffstat (limited to 'Zotlabs/Module/Photos.php')
-rw-r--r-- | Zotlabs/Module/Photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php index 6aece0ed6..1c42c0510 100644 --- a/Zotlabs/Module/Photos.php +++ b/Zotlabs/Module/Photos.php @@ -1100,7 +1100,7 @@ class Photos extends \Zotlabs\Web\Controller { } $comments = ''; - if(! count($r)) { + if(! $r) { if($observer && ($can_post || $can_comment)) { $commentbox = replace_macros($cmnt_tpl,array( '$return_path' => '', |