Skip to content

Commit

Permalink
Merge pull request lucee#501 from Yamaha32088/LDEV-929
Browse files Browse the repository at this point in the history
fixes LDEV-929
  • Loading branch information
micstriit authored May 25, 2018
2 parents 7787116 + 64542a8 commit edd0057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/lucee/runtime/ComponentImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -2114,9 +2114,9 @@ public boolean isAccessors() {

public void setProperty(Property property) throws PageException {
top.properties.properties.put(StringUtil.toLowerCase(property.getName()), property);
if(property.getDefault() != null)
scope.setEL(KeyImpl.init(property.getName()), property.getDefault());
if(top.properties.persistent || top.properties.accessors) {
if(property.getDefault() != null)
scope.setEL(KeyImpl.init(property.getName()), property.getDefault());
PropertyFactory.createPropertyUDFs(this, property);
}
}
Expand Down
File renamed without changes.

0 comments on commit edd0057

Please sign in to comment.