diff --git a/db.php b/db.php index 44187db0f..35985815b 100644 --- a/db.php +++ b/db.php @@ -96,9 +96,8 @@ function db_fetch_result($result, $row, $param) { if (DB_TYPE == "pgsql") { return pg_fetch_result($result, $row, $param); } else if (DB_TYPE == "mysql") { - // FIXME - $line = mysql_fetch_assoc($result); - return $line[$param]; + // I hate incoherent naming of PHP functions + return mysql_result($result, $row, $param); } }