Skip to content

Commit

Permalink
fixed customer emails for dynamic forms
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Aug 18, 2016
1 parent 1ba218b commit 2ad216f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

## dev-develop

- FEATURE #68 Added checkboxes to deactivate notify and success emails
- FEATURE #67 Added sixths widths to fields
- BUGFIX #66 Fixed that dynamic is related to a form
- BUGFIX #65 Unlimited title column and changed string to text
- BUGFIX #71 Fixed customer emails for dynamic forms
- FEATURE #68 Added checkboxes to deactivate notify and success emails
- FEATURE #67 Added sixths widths to fields
- BUGFIX #66 Fixed that dynamic is related to a form
- BUGFIX #65 Unlimited title column and changed string to text

18 changes: 18 additions & 0 deletions Entity/Dynamic.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,24 @@ public function __set($name, $value)
}
}

/**
* {@inheritdoc}
*/
public function __isset($name)
{
if (!is_string($name)) {
return false;
}

if (property_exists($this, $name) && $this->$name !== null) {
return true;
}

$data = $this->getData();

return isset($data[$name]);
}

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit 2ad216f

Please sign in to comment.