From 48c2f2d19691ea296cafd11309284a9c1c58ad21 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 23 Dec 2005 22:21:48 +0000 Subject: [PATCH] Calling the wrong error functions in error() --- db.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db.php b/db.php index d3e3160..6338bc0 100644 --- a/db.php +++ b/db.php @@ -333,8 +333,8 @@ class DB_Abstract { if ($this->dblink) { - $this->errnum = call_user_func($this->commands['error_num'], $this->dblink); - $this->errstr = call_user_func($this->commands['error_str'], $this->dblink); + $this->errnum = call_user_func($this->commands['errornum'], $this->dblink); + $this->errstr = call_user_func($this->commands['errorstr'], $this->dblink); } $style['code'] = 'font-family: \'Courier New\', Courier, mono; font-size: 11px;'; -- 2.43.5