diff options
author | Urban Müller | 2007-10-05 11:19:35 +0000 |
---|---|---|
committer | Urban Müller | 2007-10-05 11:19:35 +0000 |
commit | 1ee357787302611b27f71628a2e2be169c7f87f9 (patch) | |
tree | 339609e9d8ba38e8157d029bd0f7942d36e8aecf | |
parent | 06dd638946d9f0471bb9e267804eb3d0ee30365e (diff) | |
download | itools-1ee357787302611b27f71628a2e2be169c7f87f9.tar.gz itools-1ee357787302611b27f71628a2e2be169c7f87f9.tar.bz2 itools-1ee357787302611b27f71628a2e2be169c7f87f9.zip |
dont create extra errs
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |