r43424 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43423‎ | r43424 | r43425 >
Date:21:43, 12 November 2008
Author:brion
Status:old
Tags:
Comment:
fix for notice warning when no displaytitle
Modified paths:
  • /trunk/extensions/Collection/Collection.templates.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.templates.php
@@ -181,7 +181,7 @@
182182 ?>
183183 <a href="<?php echo $url ?>" title="<?php $this->msg('coll-show') ?>"><img src="<?php echo htmlspecialchars($mediapath . "show.png") ?>" width="10" height="10" alt="<?php $this->msg('coll-show') ?>" /></a>
184184 <span class="title" style="margin-left: 1em; cursor: move;">
185 - <?php if ($item['displaytitle']) {
 185+ <?php if (isset($item['displaytitle']) && $item['displaytitle'] != '') {
186186 echo htmlspecialchars($item['displaytitle']);
187187 } else {
188188 echo htmlspecialchars($item['title']);

Status & tagging log