]> git.mxchange.org Git - friendica.git/commitdiff
couple minor issues with reg queue
authorFriendika <info@friendika.com>
Wed, 5 Jan 2011 07:31:51 +0000 (23:31 -0800)
committerFriendika <info@friendika.com>
Wed, 5 Jan 2011 07:31:51 +0000 (23:31 -0800)
mod/notifications.php
mod/ping.php

index c425d092ed1e71073246d26f22c47e27b5bdd417..ef72023636d78577e34c8b868c7ad6c6b427f303 100644 (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');
                
index 00c4a31051fc1caaef514e14b1f66363e43cdccf..cb067f3feb04fcd55843ed857badc7062c6427c7 100644 (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 {