cvs: php4 /pear/HTML Common.php
| From: | Adam Daniel | Date: | Fri, 07 Dec 2001 00:06:21 +0000 |
| Subject: | cvs: php4 /pear/HTML Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1489@lists.php.net to get a copy of this message | ||
adaniel Thu Dec 6 19:06:21 2001 EDT
Modified files:
/php4/pear/HTML Common.php
Log:
changed getAttribute to return null if attribute doesn't exist
Index: php4/pear/HTML/Common.php
diff -u php4/pear/HTML/Common.php:1.11 php4/pear/HTML/Common.php:1.12
--- php4/pear/HTML/Common.php:1.11 Thu Nov 15 11:29:11 2001
+++ php4/pear/HTML/Common.php Thu Dec 6 19:06:21 2001
@@ -16,7 +16,7 @@
// | Authors: Adam Daniel <adaniel1@eesus.jnj.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Common.php,v 1.11 2001/11/15 16:29:11 adaniel Exp $
+// $Id: Common.php,v 1.12 2001/12/07 00:06:21 adaniel Exp $
/**
* Base class for all HTML classes
@@ -224,7 +224,7 @@
if (is_array($this->_attributes) && isset($this->_attributes[$attr])) {
return $this->_attributes[$attr];
}
- return false;
+ return;
} //end func getAttribute
/**