aboutsummaryrefslogtreecommitdiffstats
path: root/mod/ping.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-04 23:31:51 -0800
committerFriendika <info@friendika.com>2011-01-04 23:31:51 -0800
commitf257569713aa61b8510e6205a490eeae9c11ba5c (patch)
tree4bf631907d05e07f1f85dc8942c8e191a76be3fb /mod/ping.php
parent95507cf90fda35bb90fd32db4e7786765f7498e2 (diff)
downloadvolse-hubzilla-f257569713aa61b8510e6205a490eeae9c11ba5c.tar.gz
volse-hubzilla-f257569713aa61b8510e6205a490eeae9c11ba5c.tar.bz2
volse-hubzilla-f257569713aa61b8510e6205a490eeae9c11ba5c.zip
couple minor issues with reg queue
Diffstat (limited to 'mod/ping.php')
-rw-r--r--mod/ping.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/ping.php b/mod/ping.php
index 00c4a3105..cb067f3fe 100644
--- a/mod/ping.php
+++ b/mod/ping.php
@@ -25,8 +25,8 @@ function ping_init(&$a) {
);
$intro = $r[0]['total'];
- if ($a->config['register_policy'] = REGISTER_APPROVE &&
- $a->config['admin_email'] = $a->user['email']){
+ if ($a->config['register_policy'] == REGISTER_APPROVE &&
+ $a->config['admin_email'] === $a->user['email']){
$r = q("SELECT COUNT(*) AS `total` FROM `register`");
$register = $r[0]['total'];
} else {