mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/16021] Recognize number of Template Event instances in events.md file
PHPBB3-16021
This commit is contained in:
parent
22ca7474ea
commit
f2489a4c00
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue