1
0
Fork 0

couple minor issues with reg queue

This commit is contained in:
Friendika 2011-01-04 23:31:51 -08:00
parent 95507cf90f
commit f257569713
2 changed files with 3 additions and 3 deletions

View file

@ -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');

View file

@ -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 {