Skip to content

Commit

Permalink
Removing the argument passed to mssql_get_last_message(), it does not…
Browse files Browse the repository at this point in the history
… accept any argument.
  • Loading branch information
renan committed Nov 19, 2009
1 parent 97239f0 commit a33bd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/model/datasources/dbo/dbo_mssql.php
Expand Up @@ -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)) {
Expand Down

0 comments on commit a33bd1d

Please sign in to comment.