Index: trunk/extensions/SiteMatrix/SiteMatrixApi.php |
— | — | @@ -49,8 +49,9 @@ |
50 | 50 | 'url' => $url, |
51 | 51 | 'code' => $site, |
52 | 52 | ); |
53 | | - if( $matrix->isClosed( $lang, $site ) ) |
| 53 | + if( $matrix->isClosed( $lang, $site ) ) { |
54 | 54 | $site_out['closed'] = ''; |
| 55 | + } |
55 | 56 | $language['site'][] = $site_out; |
56 | 57 | } |
57 | 58 | } |
— | — | @@ -70,12 +71,15 @@ |
71 | 72 | $wiki['url'] = $url; |
72 | 73 | $wiki['code'] = str_replace( '_', '-', $lang ) . ( $site != 'wiki' ? $site : '' ); |
73 | 74 | |
74 | | - if( $matrix->isPrivate( $lang . $site ) ) |
| 75 | + if( $matrix->isPrivate( $lang . $site ) ) { |
75 | 76 | $wiki['private'] = ''; |
76 | | - if( $matrix->isFishbowl( $lang . $site ) ) |
| 77 | + } |
| 78 | + if( $matrix->isFishbowl( $lang . $site ) ) { |
77 | 79 | $wiki['fishbowl'] = ''; |
78 | | - if( $matrix->isClosed( $lang, $site ) ) |
| 80 | + } |
| 81 | + if( $matrix->isClosed( $lang, $site ) ) { |
79 | 82 | $wiki['closed'] = ''; |
| 83 | + } |
80 | 84 | |
81 | 85 | $specials[] = $wiki; |
82 | 86 | } |