aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkasimi <mail@kasimi.net>2018-07-07 16:09:29 +0200
committerkasimi <mail@kasimi.net>2018-07-07 16:09:29 +0200
commit21faf69d3123b666a19731e318e07417f45b5325 (patch)
tree04bde7aa6fb1ca24ae01e5655a92c575eee9f41b
parent0aea8ecd8314dcd33f7ed6e86f4a44ebaf27edc0 (diff)
downloadforums-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
-rw-r--r--phpBB/phpbb/event/php_exporter.php4
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;
}