diff options
-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 a18b9ed..b2b7f0e 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -464,8 +464,8 @@ function select($query = null) { $calc_found_rows = true; $what = 'SQL_CALC_FOUND_ROWS '.$what; - unset($query['CALC_FOUND_ROWS']); } + unset($query['CALC_FOUND_ROWS']); # Always unset, so CALC_FOUND_ROWS => false doesn't generate bogus query $nofetch = $this->_nofetch = $query['NOFETCH']; unset($query['NOFETCH']); |