X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fhtml2bbcode.php;h=435f6b77c1198aee5db6d753010581fbc86a65a0;hb=56bfb0f45a104b5bba783ff56876bbe2fb96c352;hp=1deab951958ac3a6750ac956a2289af6be3581e5;hpb=1c38540f20b3207a0fd09ef0802125e45e83bcf6;p=friendica.git diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 1deab95195..435f6b77c1 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -44,7 +44,7 @@ function node2bbcodesub(&$doc, $oldnode, $attributes, $startbb, $endbb) if (strpos('*'.$startbb, '$1') > 0) { - if ($replace and (@$attr[$attribute] != '')) { + if ($replace && (@$attr[$attribute] != '')) { $startbb = preg_replace($value, $startbb, $attr[$attribute], -1, $count);