Commit: 8a3e3dd1c2238759f41457ce1c99c64a14a79b77 Author: Adam Harvey <[email protected]> Mon, 30 Mar 2015 12:25:54 -0700 Parents: 748a6a788e649f9426e7da1ba6788199be5d5223 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=8a3e3dd1c2238759f41457ce1c99c64a14a79b77 Log: Quiet warnings. Changed paths: M include/footer.inc Diff: diff --git a/include/footer.inc b/include/footer.inc index d198a95..046379b 100644 --- a/include/footer.inc +++ b/include/footer.inc @@ -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"> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
