Skip to content

Commit

Permalink
return true on all non-error updates
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 28, 2015
1 parent 4982a77 commit 34b86eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ protected function performUpdate(Builder $query, array $options = [])
}
}

return isset($numRows) ? $numRows === 1 : false;
return true;
}

/**
Expand Down

0 comments on commit 34b86eb

Please sign in to comment.