Commit 4ba91a77 authored by Dries's avatar Dries

- Improved db_fetch_array() to return an associative array only:

  passing around arrays should be less expensive.
parent c9e807a3
......@@ -27,7 +27,7 @@ function db_fetch_row($qid) {
}
function db_fetch_array($qid) {
if ($qid) return mysql_fetch_array($qid);
if ($qid) return mysql_fetch_array($qid, MYSQL_ASSOC);
}
function db_result($qid, $field = 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment