Commit fe33c68b authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes errors with DialogOrderedArrayAttributes

parent d0e760cc
......@@ -1942,7 +1942,11 @@ class SetAttribute extends Attribute
function getForHtmlId()
{
// Label should point to the attribute
return $this->attribute->getForHtmlId();
if (is_object($this->attribute)) {
return $this->attribute->getForHtmlId();
} else {
return '';
}
}
function renderButtons ()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment