mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/15637] Extract all lines before the first @tag
PHPBB3-15637
This commit is contained in:
parent
0aea8ecd83
commit
21faf69d31
1 changed files with 2 additions and 2 deletions
|
@ -270,8 +270,8 @@ class php_exporter
|
||||||
{
|
{
|
||||||
$description_line = substr(trim($this->file_lines[$description_line_num]), strlen('* '));
|
$description_line = substr(trim($this->file_lines[$description_line_num]), strlen('* '));
|
||||||
|
|
||||||
// Reached end of description if line is empty or a tag
|
// Reached end of description if line is a tag
|
||||||
if (!strlen($description_line) || $description_line[0] == '@')
|
if (strlen($description_line) && $description_line[0] == '@')
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue