summaryrefslogtreecommitdiff
path: root/themes/pushbutton
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-14 20:10:45 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-14 20:10:45 +0000
commit764f1177efe7bafe5ab47b21968d4b0921c3896c (patch)
treeb0d25865abedeed7d251bef5c43857e79bc6f210 /themes/pushbutton
parente53f58fbe0e6c033fce65bd0d7a76d25911ff158 (diff)
downloadbrdo-764f1177efe7bafe5ab47b21968d4b0921c3896c.tar.gz
brdo-764f1177efe7bafe5ab47b21968d4b0921c3896c.tar.bz2
- Patch #40631 by Chris Johnson: is_array() slower than isset() or empty().
Diffstat (limited to 'themes/pushbutton')
-rw-r--r--themes/pushbutton/page.tpl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/pushbutton/page.tpl.php b/themes/pushbutton/page.tpl.php
index e64e8569c..c986023ca 100644
--- a/themes/pushbutton/page.tpl.php
+++ b/themes/pushbutton/page.tpl.php
@@ -102,12 +102,12 @@
<table id="footer-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" valign="middle">
- <?php if (is_array($primary_links)) : ?>
+ <?php if (isset($primary_links)) : ?>
<div class="primary-links">
<?php print theme('links', $primary_links) ?>
</div>
<?php endif; ?>
- <?php if (is_array($secondary_links)) : ?>
+ <?php if (isset($secondary_links)) : ?>
<div class="secondary-links">
<?php print theme('links', $secondary_links) ?>
</div>