commit | 7d42eb39484a784496868f4446a2d47b0c52410d | [log] [tgz] |
---|---|---|
author | Timothy Warren <tim@timshomepage.net> | Fri Feb 17 14:21:18 2012 -0500 |
committer | Timothy Warren <tim@timshomepage.net> | Fri Feb 17 14:21:18 2012 -0500 |
tree | 9c9c01e08d8324e712a10c5a22096b74ec06373a | |
parent | 3a4cdc62042c56da9527e6d1d4c1ab5417839e1c [diff] [blame] |
More general fix for num_rows
diff --git a/system/database/drivers/interbase/interbase_result.php b/system/database/drivers/interbase/interbase_result.php index 37f0a10..9093029 100644 --- a/system/database/drivers/interbase/interbase_result.php +++ b/system/database/drivers/interbase/interbase_result.php
@@ -52,7 +52,10 @@ return $this->num_rows; } - return 0; + //Get the results so that you can get an accurate rowcount + $this->result_array(); + + return $this->num_rows; } // --------------------------------------------------------------------