svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ MenuFoot.tpl.php
| From: | Amir Mohammad Saied | Date: | Thu, 17 Jun 2010 16:21:09 +0000 |
| Subject: | svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ MenuFoot.tpl.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9507@lists.php.net to get a copy of this message | ||
amir Thu, 17 Jun 2010 16:21:09 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300531
Log:
Silencing a pass by reference warning
Changed paths:
U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/MenuFoot.tpl.php
Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/MenuFoot.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/MenuFoot.tpl.php 2010-06-17 16:04:03
UTC (rev 300530)
+++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/MenuFoot.tpl.php 2010-06-17 16:21:09
UTC (rev 300531)
@@ -1,7 +1,8 @@
<?php
$base = PEAR2\SimpleChannelFrontend\Main::getURL();
-$last = end(array_keys($context->data));
+$keys = array_keys($context->data);
+$last = end($keys);
echo ' <div class="footer-menu-container clearfix">' .
"\n";