Commit 057fe981 authored by Nigel McNie's avatar Nigel McNie
Browse files

Prevent crash when choosing to export a list of views, and then not setting any to export.

(cherry picked from commit 4790ff5110a47afef76a830f097075d23b94dfb8)
parent 44230d16
...@@ -347,6 +347,7 @@ class PluginExportHtml extends PluginExport { ...@@ -347,6 +347,7 @@ class PluginExportHtml extends PluginExport {
* Copies the static files (stylesheets etc.) into the export * Copies the static files (stylesheets etc.) into the export
*/ */
private function copy_static_files() { private function copy_static_files() {
require_once('file.php');
$staticdir = $this->get('exportdir') . '/' . $this->get('rootdir') . '/static/'; $staticdir = $this->get('exportdir') . '/' . $this->get('rootdir') . '/static/';
$directoriestocopy = array(); $directoriestocopy = array();
......
Markdown is supported
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