From 94ed44e76ebb6e1ed197411be16aa4d85f454b0a Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 11 Aug 2014 19:38:04 -0700 Subject: change default invitation message --- mod/receive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/receive.php') 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]; -- cgit v1.2.3