Prevent the following strict-standards warnings - i.e. when running with error_loggin...
[lhc/web/wiklou.git] / skins / MonoBook.php
index 4322e0d..eb1b3ce 100644 (file)
@@ -258,7 +258,7 @@ class MonoBookTemplate extends QuickTemplate {
                        'privacy', 'about', 'disclaimer', 'tagline',
                );
                foreach( $footerlinks as $aLink ) {
-                       if( $this->data[$aLink] ) {
+                       if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) {
 ?>                             <li id="<?php echo$aLink?>"><?php $this->html($aLink) ?></li>
 <?php          }
                }