Commit 094981c3 authored by Nigel McNie's avatar Nigel McNie
Browse files

Change the get_icon call to fit the new format.

parent 477da808
......@@ -1168,7 +1168,7 @@ class View {
$result = '';
foreach ($artefacts as &$artefact) {
safe_require('artefact', get_field('artefact_installed_type', 'plugin', 'name', $artefact->artefacttype));
$artefact->icon = call_static_method(generate_artefact_class_name($artefact->artefacttype), 'get_icon', $artefact->id);
$artefact->icon = call_static_method(generate_artefact_class_name($artefact->artefacttype), 'get_icon', array('id' => $artefact->id));
$artefact->hovertitle = ($artefact->artefacttype == 'profileicon') ? $artefact->note : $artefact->title;
$artefact->description = ($artefact->artefacttype == 'profileicon') ? $artefact->title : $artefact->description;
......
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