不要怂,就是干,撸起袖子干!

Commit 330318a6 by José Moreira

Check for plain objects

1 parent 2e637201
Showing with 1 additions and 1 deletions
......@@ -1622,7 +1622,7 @@ module.exports = (function() {
// otherwise this code will never run on includes of a already conditionable where
if (options.include && options.include.length) {
options.include.forEach(function(include) {
if (Utils._.isObject(include) && include.model) {
if (Utils._.isPlainObject(include) && include.model) {
paranoidClause.call(include.model, include);
}
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!