summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/db.inc.php')
-rw-r--r--frontends/php/include/db.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index 46d56c7f..e60bc250 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -408,10 +408,10 @@
switch($DB_TYPE)
{
case "MYSQL":
- $result = mysql_fetch_array($cursor);
+ $result = mysql_fetch_assoc($cursor);
break;
case "POSTGRESQL":
- $result = pg_fetch_array($cursor);
+ $result = pg_fetch_assoc($cursor);
break;
case "ORACLE":
if(ocifetchinto($cursor, $row, OCI_ASSOC+OCI_NUM+OCI_RETURN_NULLS))