cvs: smarty / NEWS /plugins function.assign_debug_info.php
| From: | Monte Ohrt | Date: | Mon, 24 Jun 2002 20:22:15 +0000 |
| Subject: | cvs: smarty / NEWS /plugins function.assign_debug_info.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-153@lists.php.net to get a copy of this message | ||
mohrt Mon Jun 24 16:22:15 2002 EDT
Modified files:
/smarty NEWS
/smarty/plugins function.assign_debug_info.php
Log:
fixed warning message in function.assign_debug_info
Index: smarty/NEWS
diff -u smarty/NEWS:1.210 smarty/NEWS:1.211
--- smarty/NEWS:1.210 Mon Jun 24 15:07:10 2002
+++ smarty/NEWS Mon Jun 24 16:22:14 2002
@@ -1,3 +1,4 @@
+ - fixed warning message in function.assign_debug_info (Monte)
- fixed $template_dir, $compile_dir, $cache_dir, $config_dir
to respect include_path (Monte)
- fixed warning message with output filter array (Monte)
Index: smarty/plugins/function.assign_debug_info.php
diff -u smarty/plugins/function.assign_debug_info.php:1.2
smarty/plugins/function.assign_debug_info.php:1.3
--- smarty/plugins/function.assign_debug_info.php:1.2 Wed Feb 20 17:24:32 2002
+++ smarty/plugins/function.assign_debug_info.php Mon Jun 24 16:22:15 2002
@@ -12,7 +12,7 @@
{
$assigned_vars = $smarty->_tpl_vars;
ksort($assigned_vars);
- if (is_array($smarty->_config[0])) {
+ if (@is_array($smarty->_config[0])) {
$config_vars = $smarty->_config[0];
ksort($config_vars);
$smarty->assign("_debug_config_keys", array_keys($config_vars));