|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-04-18 09:34 UTC] lsmith@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 16:00:01 2025 UTC |
The connect function in DB/ifx.php contains this: function connect(&$dsninfo, $persistent = false) { if (!DB::assertExtension('informix') || !DB::assertExtension('Informix')) { return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND); } It should be: function connect(&$dsninfo, $persistent = false) { if (!DB::assertExtension('informix') && !DB::assertExtension('Informix')) { return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND); } Note the '||' must be changed to '&&' or it will always fail when it shouldn't, and succeed when it shouldn't.