Commit 29ee9888 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Use fileid in image path

parent 9839c9ce
......@@ -1238,7 +1238,7 @@ class ArtefactTypeImage extends ArtefactTypeFile {
public function get_path($data=array()) {
require_once('file.php');
$result = get_dataroot_image_path('artefact/file/', $this->id, $data);
$result = get_dataroot_image_path('artefact/file/', $this->fileid, $data);
return $result;
}
......
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