X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fhtml2bbcode.php;h=435f6b77c1198aee5db6d753010581fbc86a65a0;hb=28eb5d57a72aae22428061b26b90195f7feacadf;hp=c14629b895ed52bff01ab0f8b5788fdf55bdd736;hpb=109f851795988c2f652aa9b4219995b25ce73c1b;p=friendica.git diff --git a/include/html2bbcode.php b/include/html2bbcode.php index c14629b895..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); @@ -325,4 +325,3 @@ function html2bbcode($message) return $message; } -?>