aboutsummaryrefslogtreecommitdiffstats
path: root/mod/receive.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/receive.php')
-rw-r--r--mod/receive.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/receive.php b/mod/receive.php
index fd47b5530..c5a2dc4e0 100644
--- a/mod/receive.php
+++ b/mod/receive.php
@@ -34,7 +34,7 @@ function receive_post(&$a) {
$r = q("SELECT * FROM channel left join account on account_id = channel_account_id WHERE channel_guid = '%s' AND account_flags = 0 LIMIT 1",
dbesc($guid)
);
- if(! count($r))
+ if(! $r)
http_status_exit(500);
$importer = $r[0];