ID: 14291 Updated by: zak Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: MySQL related Operating System: Linux x86 PHP Version: 4.0.6 Old Assigned To: Assigned To: Zak New Comment:
Will check out later tonight. Previous Comments: ------------------------------------------------------------------------ [2001-11-29 16:03:55] [EMAIL PROTECTED] The code in php_mysql_fetch_hash() (in php_mysql.c) for handling NULL values (near the end of the function) sets only the numeric index when the return_type is MYSQL_BOTH, but it should be setting the named index as well. Changing the "else" clause to: if (result_type & MYSQL_ASSOC) should fix things. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14291&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]