Permalink
Browse files

faster fetching associative array

  • Loading branch information...
1 parent a0ae703 commit aa2903ad4d98b2b6db142e166d221cd8bcf0bf31 @acidvertigo acidvertigo committed Mar 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/includes/functions/database.php
View
2 catalog/includes/functions/database.php
@@ -96,7 +96,7 @@ function tep_db_perform($table, $data, $action = 'insert', $parameters = '', $li
}
function tep_db_fetch_array($db_query) {
- return mysql_fetch_array($db_query, MYSQL_ASSOC);
+ return mysql_fetch_assoc($db_query);
}
function tep_db_num_rows($db_query) {

0 comments on commit aa2903a

Please sign in to comment.