Commit fd7abc03 authored by gitdevmod's avatar gitdevmod Committed by Johan Cwiklinski

Fix undefined method (#3952)

parent a3f7bbe8
......@@ -50,7 +50,7 @@ $revision = new KnowbaseItem_Revision();
$revision->getFromDB($revid);
$rev = [
'name' => $revision->fields['name'],
'answer' => Html::entity_decode($revision->fields['answer'])
'answer' => html_entity_decode($revision->fields['answer'])
];
echo json_encode($rev);
Markdown is supported
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