[Fusionforge-commits] r9704 - trunk/gforge/plugins/mediawiki/mediawiki-skin

Roland Mas lolando at libremir.placard.fr.eu.org
Mon May 10 15:19:34 CEST 2010


Author: lolando
Date: 2010-05-10 15:19:33 +0200 (Mon, 10 May 2010)
New Revision: 9704

Modified:
   trunk/gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php
Log:
Quieten error_log

Modified: trunk/gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php
===================================================================
--- trunk/gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php	2010-05-10 12:03:00 UTC (rev 9703)
+++ trunk/gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php	2010-05-10 13:19:33 UTC (rev 9704)
@@ -184,7 +184,7 @@
 			<ul>
 <?php 			foreach($this->data['personal_urls'] as $key => $item) { ?>
 				<li id="<?php echo Sanitizer::escapeId( "pt-$key" ) ?>"<?php
-					if ($item['active']) { ?> class="active"<?php } ?>><a href="<?php
+					if (isset($item['active']) && $item['active']) { ?> class="active"<?php } ?>><a href="<?php
 				echo htmlspecialchars($item['href']) ?>"<?php echo $skin->tooltipAndAccesskey('pt-'.$key) ?><?php
 				if(!empty($item['class'])) { ?> class="<?php
 				echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php
@@ -383,7 +383,7 @@
 			<ul>
 <?php 			foreach($cont as $key => $val) { ?>
 				<li id="<?php echo Sanitizer::escapeId($val['id']) ?>"<?php
-					if ( $val['active'] ) { ?> class="active" <?php }
+					if (isset($val['active']) && $val['active']) { ?> class="active" <?php }
 				?>><a href="<?php echo htmlspecialchars($val['href']) ?>"<?php echo $this->skin->tooltipAndAccesskey($val['id']) ?>><?php echo htmlspecialchars($val['text']) ?></a></li>
 <?php			} ?>
 			</ul>




More information about the Fusionforge-commits mailing list