fix another PHP 7.2 warning

This commit is contained in:
Mario Vavti 2017-12-04 20:46:06 +01:00
parent 11c703cb4b
commit 0305983360

View File

@ -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' => '',