Skip to content
Snippets Groups Projects
Commit 0e29c8dd authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix issue with dynamic field lookups

parent 33ee0060
No related branches found
Tags v1.9.1
No related merge requests found
......@@ -56,7 +56,7 @@ class DynamicForm extends VerySimpleModel {
}
function getDynamicFields() {
if (!isset($this->_dfields) && isset($this->id)) {
if (!$this->_dfields && isset($this->id)) {
$this->_dfields = DynamicFormField::objects()
->filter(array('form_id'=>$this->id))
->all();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment