aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/event
diff options
context:
space:
mode:
authorkasimi <mail@kasimi.net>2018-07-07 16:10:23 +0200
committerkasimi <mail@kasimi.net>2018-07-07 16:10:23 +0200
commit1c8570d0f5111255f9cac793a8404f6af551ce3e (patch)
tree4378b67d37220fabef95fb3d31ee80ad97b4842a /phpBB/phpbb/event
parent21faf69d3123b666a19731e318e07417f45b5325 (diff)
downloadforums-1c8570d0f5111255f9cac793a8404f6af551ce3e.tar
forums-1c8570d0f5111255f9cac793a8404f6af551ce3e.tar.gz
forums-1c8570d0f5111255f9cac793a8404f6af551ce3e.tar.bz2
forums-1c8570d0f5111255f9cac793a8404f6af551ce3e.tar.xz
forums-1c8570d0f5111255f9cac793a8404f6af551ce3e.zip
[ticket/15637] Fixed removing white-spaces from description line
PHPBB3-15637
Diffstat (limited to 'phpBB/phpbb/event')
-rw-r--r--phpBB/phpbb/event/php_exporter.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/event/php_exporter.php b/phpBB/phpbb/event/php_exporter.php
index 5ab0baa684..0c105af0d9 100644
--- a/phpBB/phpbb/event/php_exporter.php
+++ b/phpBB/phpbb/event/php_exporter.php
@@ -268,7 +268,8 @@ class php_exporter
while (true)
{
- $description_line = substr(trim($this->file_lines[$description_line_num]), strlen('* '));
+ $description_line = substr(trim($this->file_lines[$description_line_num]), strlen('*'));
+ $description_line = trim(str_replace("\t", " ", $description_line));
// Reached end of description if line is a tag
if (strlen($description_line) && $description_line[0] == '@')