aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-12-04 20:46:06 +0100
committerMario Vavti <mario@mariovavti.com>2017-12-04 20:46:06 +0100
commit0305983360568f991365cd815d081afedaa6d742 (patch)
treec2fc3c5a117f5256aac76dce94cf6dd202df2171
parent11c703cb4beb5356c5377147f98bf9caba5c657a (diff)
downloadvolse-hubzilla-0305983360568f991365cd815d081afedaa6d742.tar.gz
volse-hubzilla-0305983360568f991365cd815d081afedaa6d742.tar.bz2
volse-hubzilla-0305983360568f991365cd815d081afedaa6d742.zip
fix another PHP 7.2 warning
-rw-r--r--Zotlabs/Module/Photos.php2
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' => '',