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

Commit ee9ed3fc by Jan Aagaard Meier

Removed that pesky duplicated call to addAttributes, closing #874

1 parent 3d9e71ca
Showing with 5 additions and 5 deletions
......@@ -486,11 +486,11 @@ module.exports = (function() {
key;
// add all passed values to the dao and store the attribute names in this.attributes
for (key in values) {
if (values.hasOwnProperty(key)) {
this.addAttribute(key, values[key])
}
}
// for (key in values) {
// if (values.hasOwnProperty(key)) {
// this.addAttribute(key, values[key])
// }
// }
if (isNewRecord) {
if (this.hasDefaultValues) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!