aboutsummaryrefslogtreecommitdiffstats
path: root/mod/receive.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-11 19:38:04 -0700
committerfriendica <info@friendica.com>2014-08-11 19:38:04 -0700
commit94ed44e76ebb6e1ed197411be16aa4d85f454b0a (patch)
treeb68cdc2b3b45dd5ab201b5f1a71ba75b8c011fb9 /mod/receive.php
parent6d8fe28e79c4234bfb720ee133fe2c09cdba2f8a (diff)
downloadvolse-hubzilla-94ed44e76ebb6e1ed197411be16aa4d85f454b0a.tar.gz
volse-hubzilla-94ed44e76ebb6e1ed197411be16aa4d85f454b0a.tar.bz2
volse-hubzilla-94ed44e76ebb6e1ed197411be16aa4d85f454b0a.zip
change default invitation message
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];