Re: Re: Bug #520 [Opn]: Fatal error: Call to undefined method mdb_error::tableinfo() in /usr/local/lib/

From: Date: Mon, 05 Jan 2004 13:56:18 +0000
Subject: Re: Re: Bug #520 [Opn]: Fatal error: Call to undefined method mdb_error::tableinfo() in /usr/local/lib/
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24771@lists.php.net to get a copy of this message
On Mon, 05 Jan 2004 14:36:07 +0100, Mirko Comi wrote: > Is not MDB_Querytool bug but mine. > > I find another bug in Query.php: > > if (strpos($what, '*') !== false) { > > and I replace this with > > if (strpos($what, '*') != false) { > > it's correct? No, the code is right as it is. The "!==" force a strict check on the type also, and it's used to distinguish between boolean "false" and integer "0". http://www.php.net/manual/en/language.operators.comparison.php Best regards, Lorenzo

« previous php.pear.dev (#24771) next »