Browse Source

couple minor issues with reg queue

pull/1/head
Friendika 12 years ago
parent
commit
f257569713
  1. 2
      mod/notifications.php
  2. 4
      mod/ping.php

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

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

Loading…
Cancel
Save