From dc726ed4ff531cb9c15961fd10d0036ac939f4ef Mon Sep 17 00:00:00 2001 From: messju Date: Sat, 11 Sep 2004 18:52:13 +0000 Subject: [PATCH] removed notice from {debug} thanks to Peter Billen for pointing this one out! --- libs/plugins/function.debug.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/plugins/function.debug.php b/libs/plugins/function.debug.php index 2452d625..200b9669 100644 --- a/libs/plugins/function.debug.php +++ b/libs/plugins/function.debug.php @@ -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);