Commit 35b3a5a7 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't try to show profile icon artefact with user's id

parent e5fe80d5
......@@ -47,6 +47,9 @@ switch ($type) {
$id = $data->profileicon;
$mimetype = $data->filetype;
}
else {
$id = null;
}
}
else {
$mimetype = get_field('artefact_file_files', 'filetype', 'artefact', $id);
......
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