#42368 [Asn->Csd]: Incorrect error message displayed by pg_escape_string
| From: | iliaa@php.net | Date: | Wed, 22 Aug 2007 22:40:38 +0000 |
| Subject: | #42368 [Asn->Csd]: Incorrect error message displayed by pg_escape_string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116504@lists.php.net to get a copy of this message | ||
ID: 42368
Updated by: iliaa@php.net
Reported By: vesselin at awcreator dot com
-Status: Assigned
+Status: Closed
Bug Type: PostgreSQL related
Operating System: Linux
PHP Version: 5CVS-2007-08-21 (snap)
Assigned To: iliaa
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2007-08-21 23:05:23] vesselin at awcreator dot com
Description:
------------
pg_escape_string() displays an incorrect error message
Reproduce code:
---------------
pg_escape_string (array ());
Expected result:
----------------
Warning: pg_escape_string() expects parameter 1 to be string, array
given in Command line code on line 1
Actual result:
--------------
Warning: pg_escape_string() expects exactly 2 parameters, 1 given in
Command line code on line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42368&edit=1