From 060299c24cc802d2c6b3e8ecee80dfedce164631 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 23 Dec 2005 08:22:48 +0000 Subject: [PATCH] Fixing some boo-boos --- db.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/db.php b/db.php index 9ff16ad..ca48976 100644 --- a/db.php +++ b/db.php @@ -316,7 +316,7 @@ class DB_Abstract */ function affected_rows($result) { - return call_uesr_func($this->commands['affected_rows'], $result); + return call_user_func($this->commands['affected_rows'], $result); } // ################################################################### @@ -333,8 +333,8 @@ class DB_Abstract { if ($this->dblink) { - $this->errnum = $this->commands['error_num']($this->dblink); - $this->errstr = $this->commands['error_str']($this->dblink); + $this->errnum = call_user_func($this->commands['error_num'], $this->dblink); + $this->errstr = call_user_func($this->commands['error_str'], $this->dblink); } $style['code'] = 'font-family: \'Courier New\', Courier, mono; font-size: 11px;'; -- 2.22.5