diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-02-17 20:21:18 +0100 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-02-17 20:21:18 +0100 |
commit | 7d42eb39484a784496868f4446a2d47b0c52410d (patch) | |
tree | 9c9c01e08d8324e712a10c5a22096b74ec06373a /system/database/drivers/interbase/interbase_result.php | |
parent | 3a4cdc62042c56da9527e6d1d4c1ab5417839e1c (diff) |
More general fix for num_rows
Diffstat (limited to 'system/database/drivers/interbase/interbase_result.php')
-rw-r--r-- | system/database/drivers/interbase/interbase_result.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/database/drivers/interbase/interbase_result.php b/system/database/drivers/interbase/interbase_result.php index 37f0a108c..9093029dd 100644 --- a/system/database/drivers/interbase/interbase_result.php +++ b/system/database/drivers/interbase/interbase_result.php @@ -52,7 +52,10 @@ class CI_DB_interbase_result extends CI_DB_result { return $this->num_rows; } - return 0; + //Get the results so that you can get an accurate rowcount + $this->result_array(); + + return $this->num_rows; } // -------------------------------------------------------------------- |