Fix typo in customfield widget

This commit is contained in:
Hadi Nategh 2015-03-26 17:08:49 +00:00
parent 5f0c5f9c47
commit 0328abf1c4

View File

@ -142,7 +142,7 @@ class etemplate_widget_customfields extends etemplate_widget_transformer
if($this->attrs['field-names'][0] == '!')
{
$negate_field_filter = true;
$this->attrs['field-names'] = substr($this->attrs['field_names'],1);
$this->attrs['field-names'] = substr($this->attrs['field-names'],1);
}
$field_filter = explode(',', $this->attrs['field_names']);
}