aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-09 11:51:55 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-09 11:51:55 -0800
commitae2c0e655267f56cc3d0ee3558f469817bb61e28 (patch)
tree9b174dcb2cd868d24ac180ee2ccc6a122c24dbfc /include
parent200eabe0523ec89085c7546bed1c624bd66dcd24 (diff)
parent50422004929d8c4bc7f7b6ccdf135ac93599033d (diff)
downloadvolse-hubzilla-ae2c0e655267f56cc3d0ee3558f469817bb61e28.tar.gz
volse-hubzilla-ae2c0e655267f56cc3d0ee3558f469817bb61e28.tar.bz2
volse-hubzilla-ae2c0e655267f56cc3d0ee3558f469817bb61e28.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'include')
-rw-r--r--include/account.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/account.php b/include/account.php
index b3a520fd4..e448bdcc6 100644
--- a/include/account.php
+++ b/include/account.php
@@ -67,7 +67,7 @@ function check_account_invite($invite_code) {
$result['message'] .= t('An invitation is required.') . EOL;
}
$r = q("select * from register where `hash` = '%s' limit 1", dbesc($invite_code));
- if(! results($r)) {
+ if(! $r) {
$result['message'] .= t('Invitation could not be verified.') . EOL;
}
}
@@ -718,4 +718,4 @@ function upgrade_message($bbcode = false) {
function upgrade_bool_message($bbcode = false) {
$x = upgrade_link($bbcode);
return t('This action is not available under your subscription plan.') . (($x) ? ' ' . $x : '') ;
-} \ No newline at end of file
+}