Skip to content
Snippets Groups Projects
Commit f08b3ca1 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

revert first part of change in #65 again, fixes #168

parent 2d7dbbef
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ abstract class Exercise extends SimpleORMap
$this->options['comment'] = 1;
}
if (!$request['files_visible']) {
if ($request['file_ids'] && !$request['files_visible']) {
$this->options['files_hidden'] = 1;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment