From: Friendika Date: Wed, 5 Jan 2011 07:31:51 +0000 (-0800) Subject: couple minor issues with reg queue X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f257569713aa61b8510e6205a490eeae9c11ba5c;p=friendica.git couple minor issues with reg queue --- diff --git a/mod/notifications.php b/mod/notifications.php index c425d092ed..ef72023636 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -126,7 +126,7 @@ function notifications_content(&$a) { else notice( t('No notifications.') . EOL); - if ($a->config['register_policy'] = REGISTER_APPROVE && + if ($a->config['register_policy'] == REGISTER_APPROVE && $a->config['admin_email'] === $a->user['email']){ $o .= load_view_file('view/registrations-top.tpl'); diff --git a/mod/ping.php b/mod/ping.php index 00c4a31051..cb067f3feb 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 {