couple minor issues with reg queue
This commit is contained in:
parent
95507cf90f
commit
f257569713
|
@ -126,7 +126,7 @@ function notifications_content(&$a) {
|
||||||
else
|
else
|
||||||
notice( t('No notifications.') . EOL);
|
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']){
|
$a->config['admin_email'] === $a->user['email']){
|
||||||
$o .= load_view_file('view/registrations-top.tpl');
|
$o .= load_view_file('view/registrations-top.tpl');
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,8 @@ function ping_init(&$a) {
|
||||||
);
|
);
|
||||||
$intro = $r[0]['total'];
|
$intro = $r[0]['total'];
|
||||||
|
|
||||||
if ($a->config['register_policy'] = REGISTER_APPROVE &&
|
if ($a->config['register_policy'] == REGISTER_APPROVE &&
|
||||||
$a->config['admin_email'] = $a->user['email']){
|
$a->config['admin_email'] === $a->user['email']){
|
||||||
$r = q("SELECT COUNT(*) AS `total` FROM `register`");
|
$r = q("SELECT COUNT(*) AS `total` FROM `register`");
|
||||||
$register = $r[0]['total'];
|
$register = $r[0]['total'];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue