Skip to content
Snippets Groups Projects
Commit 547ac22a authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Fixed function prototype of db_error().  Patch by James.

  One-liners are great! :)
parent b72bb5cf
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -94,7 +94,7 @@ function db_result($result, $row = 0) {
}
}
function db_error($result) {
function db_error() {
global $db_handle;
return DB::isError($db_handle);
......@@ -106,4 +106,4 @@ function db_next_id($name) {
return $db_handle->nextID($name);
}
?>
\ No newline at end of file
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment