Skip to content
Permalink
Browse files

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

… accept any argument.
  • Loading branch information...
renan committed Nov 19, 2009
1 parent 9eb1950 commit 4a8808eb211261073114faa130101ee8b44b9307
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/model/datasources/dbo/dbo_mssql.php
@@ -412,7 +412,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 4a8808e

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.