diff options
| author | Christian Schneider | 2007-10-05 11:24:06 +0000 |
|---|---|---|
| committer | Christian Schneider | 2007-10-05 11:24:06 +0000 |
| commit | d0f36e8bad9aaac34445bfaa271f2b544b50f41f (patch) | |
| tree | 7e7734f73701945767de32091adfad0217675a50 | |
| parent | 1ee357787302611b27f71628a2e2be169c7f87f9 (diff) | |
| download | itools-d0f36e8bad9aaac34445bfaa271f2b544b50f41f.tar.gz itools-d0f36e8bad9aaac34445bfaa271f2b544b50f41f.tar.bz2 itools-d0f36e8bad9aaac34445bfaa271f2b544b50f41f.zip | |
One @ is enough, they count for the whole expression
| -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 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"); } |