Update of /cvsroot/php-blog/serendipity/bundled-libs/Smarty/libs/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18996/libs/plugins
Modified Files:
Tag: branch-smarty
function.debug.php
Log Message:
- Update to Smarty 2.6.5 (It's stable, even if their release says -dev)
Index: function.debug.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/bundled-libs/Smarty/libs/plugins/Attic/function.debug.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- function.debug.php 9 Sep 2004 14:55:45 -0000 1.1.2.1
+++ function.debug.php 23 Sep 2004 19:00:13 -0000 1.1.2.2
@@ -23,8 +23,8 @@
*/
function smarty_function_debug($params, &$smarty)
{
- if($params['output']) {
- $smarty->assign('_smarty_debug_output',$params['output']);
+ if (isset($params['output'])) {
+ $smarty->assign('_smarty_debug_output', $params['output']);
}
require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.display_debug_console.php');
return smarty_core_display_debug_console(null, $smarty);
|