[geeklog-cvs] MVCnPHP Form.class.php,1.1.1.1,1.2

tony at geeklog.net tony at geeklog.net
Sun Apr 6 13:41:59 EDT 2003


Update of /usr/cvs/geeklog/MVCnPHP
In directory internal.geeklog.net:/tmp/cvs-serv31913

Modified Files:
	Form.class.php 
Log Message:
Using isset() instead of checking empty().  Ran into some unexpected results using empt()

Index: Form.class.php
===================================================================
RCS file: /usr/cvs/geeklog/MVCnPHP/Form.class.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Form.class.php	5 Apr 2003 20:00:52 -0000	1.1.1.1
--- Form.class.php	6 Apr 2003 17:41:56 -0000	1.2
***************
*** 58,62 ****
      function contains($varName)
      {
!         return (!empty($this->_values[$varName]));
      }
      
--- 58,62 ----
      function contains($varName)
      {
!         return isset($this->_values[$varName]);
      }
      





More information about the geeklog-cvs mailing list