From: <nk...@us...> - 2012-12-22 02:47:40
|
Revision: 44376 http://sourceforge.net/p/tikiwiki/code/44376 Author: nkoth Date: 2012-12-22 02:47:36 +0000 (Sat, 22 Dec 2012) Log Message: ----------- [FIX] Prevent fatal error after r44375 when using Smarty template as output for LIST Revision Links: -------------- http://sourceforge.net/p/tikiwiki/code/44375 Modified Paths: -------------- trunk/lib/wiki-plugins/wikiplugin_list.php Modified: trunk/lib/wiki-plugins/wikiplugin_list.php =================================================================== --- trunk/lib/wiki-plugins/wikiplugin_list.php 2012-12-21 18:39:49 UTC (rev 44375) +++ trunk/lib/wiki-plugins/wikiplugin_list.php 2012-12-22 02:47:36 UTC (rev 44376) @@ -82,8 +82,8 @@ TikiLib::lib('errorreport')->report(tr('Missing template "%0"', $arguments['template'])); return ''; } - $builder = new Search_Formatter_ArrayBuilder; - $templateData = $builder->getData($output->getBody()); + $abuilder = new Search_Formatter_ArrayBuilder; + $templateData = $abuilder->getData($output->getBody()); $plugin = new Search_Formatter_Plugin_SmartyTemplate($arguments['template']); $plugin->setData($templateData); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |