1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 04:13:29 +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
No known key found for this signature in database
GPG Key ID: FAE32A15F9132DE8

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')
{