1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-22 00:21:02 +01:00

[ticket/15637] Extract all lines before the first @tag

PHPBB3-15637
This commit is contained in:
kasimi 2018-07-07 16:09:29 +02:00
parent 0aea8ecd83
commit 21faf69d31
No known key found for this signature in database
GPG Key ID: 3163AB573241193A

View File

@ -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;
}