mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
removed notice from {debug}
thanks to Peter Billen for pointing this one out!
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
function smarty_function_debug($params, &$smarty)
|
function smarty_function_debug($params, &$smarty)
|
||||||
{
|
{
|
||||||
if($params['output']) {
|
if (isset($params['output'])) {
|
||||||
$smarty->assign('_smarty_debug_output', $params['output']);
|
$smarty->assign('_smarty_debug_output', $params['output']);
|
||||||
}
|
}
|
||||||
require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.display_debug_console.php');
|
require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.display_debug_console.php');
|
||||||
|
Reference in New Issue
Block a user