change default invitation message

This commit is contained in:
friendica
2014-08-11 19:38:04 -07:00
parent 6d8fe28e79
commit 94ed44e76e
4 changed files with 64 additions and 24 deletions

View File

@@ -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];