Skip to content
Snippets Groups Projects
Commit 5e8e2335 authored by Jared Hancock's avatar Jared Hancock
Browse files

mysql: Retire old mysql constants

Required for PHP 5.5 compatibility
parent 0e435d67
No related branches found
No related tags found
No related merge requests found
...@@ -158,7 +158,7 @@ function db_result($res, $row=0) { ...@@ -158,7 +158,7 @@ function db_result($res, $row=0) {
return $value; return $value;
} }
function db_fetch_array($res, $mode=MYSQL_ASSOC) { function db_fetch_array($res, $mode=MYSQLI_ASSOC) {
return ($res) ? db_output($res->fetch_array($mode)) : NULL; # nolint return ($res) ? db_output($res->fetch_array($mode)) : NULL; # nolint
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment