Index: trunk/extensions/CentralNotice/SpecialBannerListLoader.php |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | |
82 | 82 | if ( !$templates && $this->project == 'wikipedia' ) { |
83 | 83 | $notices = $this->centralNoticeDB->getNotices( 'wikipedia', $this->language, '', '', 1, $this->location ); |
84 | | - if ( $notices ) ) { |
| 84 | + if ( $notices ) { |
85 | 85 | foreach ( $notices as $notice => $val ) { |
86 | 86 | $templates = $this->centralNoticeDB->selectTemplatesAssigned( $notice ); |
87 | 87 | break; |