From a33bd1d144ca99f79f187c42a4f22f45c91aa9b6 Mon Sep 17 00:00:00 2001 From: "renan.saddam" Date: Thu, 19 Nov 2009 16:28:11 -0200 Subject: [PATCH] Removing the argument passed to mssql_get_last_message(), it does not accept any argument. --- cake/libs/model/datasources/dbo/dbo_mssql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/model/datasources/dbo/dbo_mssql.php b/cake/libs/model/datasources/dbo/dbo_mssql.php index 1424332f4d7..ebbe33fcf56 100644 --- a/cake/libs/model/datasources/dbo/dbo_mssql.php +++ b/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)) {