From 9fca29eae3051730b72f6144e2683cd2fe7c8d0b Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 26 May 2006 15:04:27 +0000 Subject: some tiny changes... git-svn-id: file:///svn/phpbb/trunk@5967 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/bbcode.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/bbcode.php') diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php index 3c1e7babbf..98bdb3bfcc 100644 --- a/phpBB/includes/bbcode.php +++ b/phpBB/includes/bbcode.php @@ -50,7 +50,13 @@ class bbcode if (!$this->bbcode_bitfield) { - return $message; + // Remove the uid from tags that have not been transformed into HTML + if ($this->bbcode_uid) + { + $message = str_replace(':' . $this->bbcode_uid, '', $message); + } + + return; } $str = array('search' => array(), 'replace' => array()); -- cgit v1.2.1