mirror of
https://github.com/e107inc/e107.git
synced 2025-06-10 04:55:43 +02:00
Clear code_text if not set
This commit is contained in:
parent
f65721e91d
commit
c628ed11af
@ -12,8 +12,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/bbcode_handler.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/bbcode_handler.php,v $
|
||||||
| $Revision: 1.2 $
|
| $Revision: 1.3 $
|
||||||
| $Date: 2007-01-01 10:27:36 $
|
| $Date: 2007-01-02 20:20:37 $
|
||||||
| $Author: e107steved $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@ -145,6 +145,7 @@ class e_bbcode
|
|||||||
$full_text = $tp->replaceConstants($matches[0]);
|
$full_text = $tp->replaceConstants($matches[0]);
|
||||||
$code = $matches[1];
|
$code = $matches[1];
|
||||||
$parm = substr($matches[3], 1);
|
$parm = substr($matches[3], 1);
|
||||||
|
$code_text = '';
|
||||||
if (isset($matches[4])) $code_text = $tp->replaceConstants($matches[4]);
|
if (isset($matches[4])) $code_text = $tp->replaceConstants($matches[4]);
|
||||||
if($this->single_bb == true)
|
if($this->single_bb == true)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user