From 1ee357787302611b27f71628a2e2be169c7f87f9 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 5 Oct 2007 11:19:35 +0000 Subject: dont create extra errs --- it_dbi.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_dbi.class b/it_dbi.class index 643a5bc..c8f2138 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -395,7 +395,7 @@ function query($query) return false; $error = mysql_errno($this->_link).' ('.mysql_error($this->_link).')'; - $res = mysql_fetch_row(mysql_query('select database()', $this->_link)); + $res = @mysql_fetch_row(@mysql_query('select database()', $this->_link)); # dont create extra errs $this->_fatal("query(\"$query\") on {$res[0]} failed: $error"); } -- cgit v1.2.3