diff options
author | Dark❶ <dark-1@users.noreply.github.com> | 2019-04-19 21:57:23 +0530 |
---|---|---|
committer | Dark❶ <dark-1@users.noreply.github.com> | 2019-04-19 21:57:23 +0530 |
commit | f2489a4c002538a986580008f959f5450cbc0b2c (patch) | |
tree | 89329411440190efef535357017536a0761deda3 | |
parent | 22ca7474ea2e597c0ddf726e728298da6e942db9 (diff) | |
download | forums-f2489a4c002538a986580008f959f5450cbc0b2c.tar forums-f2489a4c002538a986580008f959f5450cbc0b2c.tar.gz forums-f2489a4c002538a986580008f959f5450cbc0b2c.tar.bz2 forums-f2489a4c002538a986580008f959f5450cbc0b2c.tar.xz forums-f2489a4c002538a986580008f959f5450cbc0b2c.zip |
[ticket/16021] Recognize number of Template Event instances in events.md file
PHPBB3-16021
-rw-r--r-- | phpBB/phpbb/event/md_exporter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/event/md_exporter.php b/phpBB/phpbb/event/md_exporter.php index 1f7e59b1e9..1a2d7c989e 100644 --- a/phpBB/phpbb/event/md_exporter.php +++ b/phpBB/phpbb/event/md_exporter.php @@ -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') { |