From 547ac22a735028c381e9352f2077e99d8ab4ffdb Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Mon, 26 Aug 2002 18:23:29 +0000
Subject: [PATCH] - Fixed function prototype of db_error().  Patch by James.

  One-liners are great! :)
---
 includes/database.pear.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/includes/database.pear.inc b/includes/database.pear.inc
index e7fcf0f1a7f0..9ae4c212a804 100644
--- a/includes/database.pear.inc
+++ b/includes/database.pear.inc
@@ -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
+?>
-- 
GitLab