1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16021] Recognize number of Template Event instances in events.md file

PHPBB3-16021
This commit is contained in:
Dark❶
2019-04-19 21:57:23 +05:30
parent 22ca7474ea
commit f2489a4c00

View File

@@ -394,7 +394,7 @@ class md_exporter
throw new \LogicException("Invalid event instances for file '{$file}' found for event '{$this->current_event}'", 1);
}
list($file, ) = explode(" ", $file);
list($file) = explode(" ", $file);
if (!file_exists($this->path . $file) || substr($file, -5) !== '.html')
{