r84566 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84565‎ | r84566 | r84567 >
Date:21:44, 22 March 2011
Author:krinkle
Status:ok
Tags:
Comment:
Follow-up r84565: Whitespace
Modified paths:
  • /trunk/phase3/skins/Vector.php (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/Vector.php
@@ -362,11 +362,10 @@
363363 break;
364364 case 'VIEWS':
365365 ?>
366 -<div id="p-views" class="vectorTabs<?php if ( count( $this->data['view_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
 366+<div id="p-views" class="vectorTabs<?php if ( count( $this->data['view_urls'] ) == 0 ) { echo ' emptyPortlet'; } ?>">
367367 <h5><?php $this->msg('views') ?></h5>
368368 <ul<?php $this->html('userlangattributes') ?>>
369 - <?php
370 - foreach ( $this->data['view_urls'] as $link ): ?>
 369+ <?php foreach ( $this->data['view_urls'] as $link ): ?>
371370 <li<?php echo $link['attributes'] ?>><span><a href="<?php echo htmlspecialchars( $link['href'] ) ?>" <?php echo $link['key'] ?>><?php
372371 // $link['text'] can be undefined - bug 27764
373372 if ( array_key_exists( 'text', $link ) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84565Fixing bug 27764. Adding an extra if-check to make sure ['text'] is defined. ...krinkle21:42, 22 March 2011

Status & tagging log