Re: DB::assertExtension and sybase_ct

From: Date: Thu, 06 Dec 2001 00:28:47 +0000
Subject: Re: DB::assertExtension and sybase_ct
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-3409@lists.php.net to get a copy of this message
Bradley Bell wrote: > > My scripts have all begun to fail recently, because of this code in mssql.php: > > if (!DB::assertExtension('mssql') && > !DB::assertExtension('sybase')) > return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND); > > shouldn't it be: > if (!DB::assertExtension('mssql') && !DB::assertExtension('sybase') > && !DB::assertExtension('sybase_ct')) > return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND); > shouldn't it be: if (!DB::assertExtension('mssql') || !DB::assertExtension('sybase') || !DB::assertExtension('sybase_ct')) return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND); ? Tomas V.V.Cox

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