commit | f6779f5e2510811a1d4fe39864923226a475f298 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Wed Feb 05 23:15:26 2014 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Wed Feb 05 23:15:26 2014 +0200 |
tree | db3a85ee2eee8b2c86cb6d9966e6f4e738173595 | |
parent | aaa8ddb5a48af8f37cf1015a7768957cce41acd3 [diff] |
Fix #2856
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php index 45e91cb..6f635bd 100644 --- a/system/database/drivers/odbc/odbc_driver.php +++ b/system/database/drivers/odbc/odbc_driver.php
@@ -222,7 +222,7 @@ */ public function affected_rows() { - return @odbc_num_rows($this->conn_id); + return @odbc_num_rows($this->result_id); } // --------------------------------------------------------------------