svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ MenuFoot.tpl.php

[email protected] (Amir Mohammad Saied)
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
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";
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.