[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-cvs
Subject:    [SMARTY-CVS] cvs: smarty / NEWS  /plugins function.assign_debug_info.php
From:       "Monte Ohrt" <monte () ispi ! net>
Date:       2002-06-24 20:22:15
[Download RAW message or body]

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));



-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic