DB_Object.php get function bug?

From: Date: Mon, 04 Nov 2002 18:01:41 +0000
Subject: DB_Object.php get function bug?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2600@lists.php.net to get a copy of this message
Hello, On line 176 of the DataObject.php file, there is the test: if (!$v) { which raises the error "No Value specified for get" which eliminates the potential of passing 0 in. Is a better comparison here: if (is_null($v)) { Thanks. Jeremy

« previous php.pear.general (#2600) next »