Permalink
Browse files

Removing the argument passed to mssql_get_last_message(), it does not…

… accept any argument.
  • Loading branch information...
1 parent 97239f0 commit a33bd1d144ca99f79f187c42a4f22f45c91aa9b6 @renan renan committed Nov 19, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/model/datasources/dbo/dbo_mssql.php
View
2 cake/libs/model/datasources/dbo/dbo_mssql.php
@@ -426,7 +426,7 @@ function update(&$model, $fields = array(), $values = null, $conditions = null)
* @return string Error message with error number
*/
function lastError() {
- $error = mssql_get_last_message($this->connection);
+ $error = mssql_get_last_message();
if ($error) {
if (!preg_match('/contexto de la base de datos a|contesto di database|changed database|datenbankkontext/i', $error)) {

0 comments on commit a33bd1d

Please sign in to comment.