cvs: smarty / NEWS /libs Smarty.class.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1069461159@cvsserver>
messju		Fri Nov 21 19:32:39 2003 EDT

  Modified files:              
    /smarty	NEWS 
    /smarty/libs	Smarty.class.php 
  Log:
  remove property $undefined. "null" is used literally instead
  
  
  
Index: smarty/NEWS
diff -u smarty/NEWS:1.405 smarty/NEWS:1.406
--- smarty/NEWS:1.405	Wed Nov 19 15:30:17 2003
+++ smarty/NEWS	Fri Nov 21 19:32:38 2003
@@ -1,3 +1,5 @@
+  - remove property $undefined. "null" is used literally instead (messju)
+
 Version 2.6.0 (Nov 19, 2003)
 ----------------------------
 
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.460 smarty/libs/Smarty.class.php:1.461
--- smarty/libs/Smarty.class.php:1.460	Thu Nov 20 10:26:45 2003
+++ smarty/libs/Smarty.class.php	Fri Nov 21 19:32:38 2003
@@ -43,7 +43,7 @@
  * @version 2.6.1-dev
  */
 
-/* $Id: Smarty.class.php,v 1.460 2003/11/20 15:26:45 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.461 2003/11/22 00:32:38 messju Exp $ */
 
 /**
  * DIR_SEP isn't used anymore, but third party apps might
@@ -343,13 +343,6 @@
     var $global_assign   =  array('HTTP_SERVER_VARS' => array('SCRIPT_NAME'));
 
     /**
-     * The value of "undefined". Leave it alone :-)
-     *
-     * @var null
-     */
-    var $undefined       =  null;
-
-    /**
      * This indicates which filters are automatically loaded into Smarty.
      *
      * @var array array of filter names
@@ -602,14 +595,14 @@
                     if (isset($GLOBALS[$key][$var])) {
                         $this->assign($var, $GLOBALS[$key][$var]);
                     } else {
-                        $this->assign($var, $this->undefined);
+                        $this->assign($var, null);
                     }
                 }
             } else {
                 if (isset($GLOBALS[$var_name])) {
                     $this->assign($var_name, $GLOBALS[$var_name]);
                 } else {
-                    $this->assign($var_name, $this->undefined);
+                    $this->assign($var_name, null);
                 }
             }
         }

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.