From 7748d330d29063e343d0c7316ad2cee7de7816b9 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 17 Apr 2019 17:22:27 -0700 Subject: [PATCH] tweak --- Zotlabs/Module/Profiles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Module/Profiles.php b/Zotlabs/Module/Profiles.php index 3e505b563..51854edbd 100644 --- a/Zotlabs/Module/Profiles.php +++ b/Zotlabs/Module/Profiles.php @@ -23,7 +23,7 @@ class Profiles extends Controller { intval(argv(2)), intval(local_channel()) ); - if(! count($r)) { + if(! $r) { notice( t('Profile not found.') . EOL); goaway(z_root() . '/profiles'); return; // NOTREACHED