cvs: smarty /libs/plugins function.debug.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1094928733@cvsserver> |
messju Sat Sep 11 14:52:13 2004 EDT
Modified files:
/smarty/libs/plugins function.debug.php
Log:
removed notice from {debug}
thanks to Peter Billen for pointing this one out!
http://cvs.php.net/diff.php/smarty/libs/plugins/function.debug.php?r1=1.5&r2=1.6&ty=u
Index: smarty/libs/plugins/function.debug.php
diff -u smarty/libs/plugins/function.debug.php:1.5 smarty/libs/plugins/function.debug.php:1.6
--- smarty/libs/plugins/function.debug.php:1.5 Thu Aug 7 17:18:41 2003
+++ smarty/libs/plugins/function.debug.php Sat Sep 11 14:52:13 2004
@@ -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);
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php