Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… accept any argument.
  • Loading branch information...
commit a33bd1d144ca99f79f187c42a4f22f45c91aa9b6 1 parent 97239f0
Renan Gonçalves renan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cake/libs/model/datasources/dbo/dbo_mssql.php
2  cake/libs/model/datasources/dbo/dbo_mssql.php
View
@@ -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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.