Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

… accept any argument.
  • Loading branch information...
commit 4a8808eb211261073114faa130101ee8b44b9307 1 parent 9eb1950
@renan renan authored
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
@@ -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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.