Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
29ee9888
Commit
29ee9888
authored
Sep 12, 2008
by
Richard Mansfield
Browse files
Use fileid in image path
parent
9839c9ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/file/lib.php
View file @
29ee9888
...
...
@@ -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
->
file
id
,
$data
);
return
$result
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment