mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/16021] Recognize number of Template Event instances in events.md file
PHPBB3-16021
This commit is contained in:
@@ -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')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user