diff options
author | kasimi <mail@kasimi.net> | 2018-07-07 16:09:29 +0200 |
---|---|---|
committer | kasimi <mail@kasimi.net> | 2018-07-07 16:09:29 +0200 |
commit | 21faf69d3123b666a19731e318e07417f45b5325 (patch) | |
tree | 04bde7aa6fb1ca24ae01e5655a92c575eee9f41b /phpBB | |
parent | 0aea8ecd8314dcd33f7ed6e86f4a44ebaf27edc0 (diff) | |
download | forums-21faf69d3123b666a19731e318e07417f45b5325.tar forums-21faf69d3123b666a19731e318e07417f45b5325.tar.gz forums-21faf69d3123b666a19731e318e07417f45b5325.tar.bz2 forums-21faf69d3123b666a19731e318e07417f45b5325.tar.xz forums-21faf69d3123b666a19731e318e07417f45b5325.zip |
[ticket/15637] Extract all lines before the first @tag
PHPBB3-15637
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/event/php_exporter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/event/php_exporter.php b/phpBB/phpbb/event/php_exporter.php index b798d60481..5ab0baa684 100644 --- a/phpBB/phpbb/event/php_exporter.php +++ b/phpBB/phpbb/event/php_exporter.php @@ -270,8 +270,8 @@ class php_exporter { $description_line = substr(trim($this->file_lines[$description_line_num]), strlen('* ')); - // Reached end of description if line is empty or a tag - if (!strlen($description_line) || $description_line[0] == '@') + // Reached end of description if line is a tag + if (strlen($description_line) && $description_line[0] == '@') { break; } |