From 0305983360568f991365cd815d081afedaa6d742 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 4 Dec 2017 20:46:06 +0100 Subject: fix another PHP 7.2 warning --- Zotlabs/Module/Photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' => '', -- cgit v1.2.3