diff options
-rw-r--r-- | Zotlabs/Module/Contactedit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Contactedit.php b/Zotlabs/Module/Contactedit.php index d306039d2..f0fb89d3b 100644 --- a/Zotlabs/Module/Contactedit.php +++ b/Zotlabs/Module/Contactedit.php @@ -103,7 +103,7 @@ class Contactedit extends Controller { dbesc($profile_id), intval(local_channel()) ); - if (!count($r)) { + if (!$r) { notice(t('Could not locate selected profile.') . EOL); return; } |