[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); 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') if (!file_exists($this->path . $file) || substr($file, -5) !== '.html')
{ {