diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-05 22:15:26 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-05 22:15:26 +0100 |
commit | f6779f5e2510811a1d4fe39864923226a475f298 (patch) | |
tree | db3a85ee2eee8b2c86cb6d9966e6f4e738173595 /system/database | |
parent | aaa8ddb5a48af8f37cf1015a7768957cce41acd3 (diff) |
Fix #2856
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/drivers/odbc/odbc_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php index 45e91cbc5..6f635bdfb 100644 --- a/system/database/drivers/odbc/odbc_driver.php +++ b/system/database/drivers/odbc/odbc_driver.php @@ -222,7 +222,7 @@ class CI_DB_odbc_driver extends CI_DB { */ public function affected_rows() { - return @odbc_num_rows($this->conn_id); + return @odbc_num_rows($this->result_id); } // -------------------------------------------------------------------- |