ID: 42368 Updated by: [EMAIL PROTECTED] 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