From d0f36e8bad9aaac34445bfaa271f2b544b50f41f Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 5 Oct 2007 11:24:06 +0000 Subject: One @ is enough, they count for the whole expression --- it_dbi.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_dbi.class') diff --git a/it_dbi.class b/it_dbi.class index c8f2138..6104d93 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)); # dont create extra errs + $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