diff options
Diffstat (limited to 'mod/ping.php')
-rw-r--r-- | mod/ping.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/ping.php b/mod/ping.php index 6b76c33ca..76d139711 100644 --- a/mod/ping.php +++ b/mod/ping.php @@ -202,7 +202,7 @@ function ping_init(&$a) { if($mails) $result['mail'] = intval($mails[0]['total']); - if ($a->config['register_policy'] == REGISTER_APPROVE && is_site_admin()){ + if ($a->config['system']['register_policy'] == REGISTER_APPROVE && is_site_admin()){ $regs = q("SELECT `contact`.`name`, `contact`.`url`, `contact`.`micro`, `register`.`created`, COUNT(*) as `total` FROM `contact` RIGHT JOIN `register` ON `register`.`uid`=`contact`.`uid` WHERE `contact`.`self`=1"); if($regs) $result['register'] = intval($regs[0]['total']); |