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
c714e4a8
Commit
c714e4a8
authored
Apr 21, 2009
by
Nigel McNie
Browse files
Prevent file html export breaking when there's no files.
parent
a2c136b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/file/export/html/lib.php
View file @
c714e4a8
...
...
@@ -45,6 +45,9 @@ class HtmlExportFile extends HtmlExportArtefactPlugin {
''
,
'id, artefacttype, parent, title'
);
if
(
!
$this
->
artefactdata
)
{
$this
->
artefactdata
=
array
();
}
$this
->
populate_profileicons
();
$this
->
create_index_for_directory
(
$this
->
fileroot
,
0
,
null
);
...
...
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