From 75a0a3e18b001454ab4844bc63d4052faf502138 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Sat, 15 Aug 2009 00:17:00 +0800 Subject: [PATCH] Fixed OpenID appearing in primary nav when OpenID is enabled but not OpenID-only --- lib/action.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/action.php b/lib/action.php index 092a0ec9a8..1bdc4daea7 100644 --- a/lib/action.php +++ b/lib/action.php @@ -443,8 +443,7 @@ class Action extends HTMLOutputter // lawsuit } $this->menuItem(common_local_url('login'), _('Login'), _('Login to the site'), false, 'nav_login'); - } - if (common_config('openid', 'enabled')) { + } else { $this->menuItem(common_local_url('openidlogin'), _('OpenID'), _('Login with OpenID'), false, 'nav_openid'); } -- 2.39.5