commit | 62637e9383bc21a38a49e4ce236ee9baf9c20f65 | [log] [tgz] |
---|---|---|
author | Rick Ellis <rick.ellis@ellislab.com> | Fri Oct 17 06:48:16 2008 +0000 |
committer | Rick Ellis <rick.ellis@ellislab.com> | Fri Oct 17 06:48:16 2008 +0000 |
tree | d5347f5c0e27cff809893d18c57c957f2b91ec39 | |
parent | 701f6129cadcfb63c98a2738dfda1eb00de80e58 [diff] |
Fixed an error reporting bug: 4900
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 9508ded..6b60d67 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php
@@ -314,7 +314,7 @@ $this->trans_complete(); // Log and display errors - log_message('error', 'Query error: '.$this->_error_message()); + log_message('error', 'Query error: '.$error_msg); return $this->display_error( array( 'Error Number: '.$error_no,