1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00

Quiet warnings.

This commit is contained in:
Adam Harvey
2015-03-30 12:25:54 -07:00
parent 3360aa8c1d
commit 461a0fb19c

View File

@@ -7,11 +7,11 @@
}
?>
<?php if ($config['related_menu'] || $config['related_menu_deprecated']): ?>
<?php if (!empty($config['related_menu']) || !empty($config['related_menu_deprecated'])): ?>
<aside class='layout-menu'>
<ul class='parent-menu-list'>
<?php if ($config['related_menu']): ?>
<?php if (!empty($config['related_menu'])): ?>
<?php foreach($config['related_menu'] as $section): ?>
<li>
<a href="<?php echo $section['link']; ?>"><?php echo $section['title']; ?></a>
@@ -35,7 +35,7 @@
<?php endforeach; ?>
<?php endif; ?>
<?php if ($config['related_menu_deprecated']): ?>
<?php if (!empty($config['related_menu_deprecated'])): ?>
<li>
<span class="header">Deprecated</span>
<ul class="child-menu-list">