Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -683,12 +683,12 @@ |
684 | 684 | 'active' => ( $pageurl == $href ) |
685 | 685 | ); |
686 | 686 | $personal_urls['anonlogin'] = $login_url; |
687 | | - if ( isset($createaccount_url) ) { |
688 | | - $personal_urls['createaccount'] = $createaccount_url; |
689 | | - } |
690 | 687 | } else { |
691 | 688 | $personal_urls['login'] = $login_url; |
692 | 689 | } |
| 690 | + if ( isset($createaccount_url) ) { |
| 691 | + $personal_urls['createaccount'] = $createaccount_url; |
| 692 | + } |
693 | 693 | } |
694 | 694 | |
695 | 695 | wfRunHooks( 'PersonalUrls', array( &$personal_urls, &$title ) ); |