X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fping.php;h=cb067f3feb04fcd55843ed857badc7062c6427c7;hb=35c3e12df53fc0584f1b5231ea6e73a177db3573;hp=00c4a31051fc1caaef514e14b1f66363e43cdccf;hpb=0df91fd9a2a78d12378fcb7d9f7cba33f33e845e;p=friendica.git 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 {