svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ MenuFoot.tpl.php
| From: | Brett Bieber | Date: | Thu, 03 Mar 2011 16:36:35 +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-9778@lists.php.net to get a copy of this message | ||
saltybeagle Thu, 03 Mar 2011 16:36:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=308902
Log:
When auto-escaping output is turned on in PEAR2\Templates\Savant, arrays are handled a bit
differently now. Get the raw array to avoid any confusion over what we're dealing with for now.
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 2011-03-03 16:35:41
UTC (rev 308901)
+++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/MenuFoot.tpl.php 2011-03-03 16:36:35
UTC (rev 308902)
@@ -1,7 +1,7 @@
<?php
$base = PEAR2\SimpleChannelFrontend\Main::getURL();
-$keys = array_keys($context->data);
+$keys = array_keys($context->getRaw('data'));
$last = end($keys);
echo ' <div class="footer-menu-container clearfix">' .
"\n";