]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_confirm.php
Added test case for Router->getModuleClass
[friendica.git] / mod / dfrn_confirm.php
index 2059e14034eef49b0e49c2ec003aebddf7f7432e..770c7070b44fea2ad68df07da10f1e568783ee3c 100644 (file)
@@ -202,11 +202,11 @@ function dfrn_confirm_post(App $a, $handsfree = null)
                                $params['duplex'] = 1;
                        }
 
-                       if ($user['page-flags'] == Contact::PAGE_COMMUNITY) {
+                       if ($user['page-flags'] == User::PAGE_FLAGS_COMMUNITY) {
                                $params['page'] = 1;
                        }
 
-                       if ($user['page-flags'] == Contact::PAGE_PRVGROUP) {
+                       if ($user['page-flags'] == User::PAGE_FLAGS_PRVGROUP) {
                                $params['page'] = 2;
                        }