svn: /web/php-bugs/trunk/include/ functions.php
| From: | Ferenc Kovacs | Date: | Sat, 19 Nov 2011 23:51:03 +0000 |
| Subject: | svn: /web/php-bugs/trunk/include/ functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12528@lists.php.net to get a copy of this message | ||
tyrael Sat, 19 Nov 2011 23:51:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=319567
Log:
list() won't work for associate array, so the default fetchmode (MDB2_FETCHMODE_ORDERED) should
be used. fixing #60317
Bug: https://bugs.php.net/60317 (Assigned) Incorrect
mailinglist used
Changed paths:
U web/php-bugs/trunk/include/functions.php
Modified: web/php-bugs/trunk/include/functions.php
===================================================================
--- web/php-bugs/trunk/include/functions.php 2011-11-19 23:09:12 UTC (rev 319566)
+++ web/php-bugs/trunk/include/functions.php 2011-11-19 23:51:03 UTC (rev 319567)
@@ -1328,7 +1328,7 @@
throw new Exception('SQL Error in get_package_name(): ' . $res->getMessage());
}
- list($list_email, $project) = $res->fetchRow(MDB2_FETCHMODE_ASSOC);
+ list($list_email, $project) = $res->fetchRow();
if ($project == 'pecl') {
$mailfrom = 'pecl-dev@lists.php.net';