From: Roland Haeder Date: Sat, 8 Apr 2017 17:11:45 +0000 (+0200) Subject: no spaces here ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3d386daf537e5315a9c44868707312e36993130e;p=friendica.git no spaces here ... Signed-off-by: Roland Haeder --- diff --git a/include/bbcode.php b/include/bbcode.php index 97b1b6c0cc..339159ec84 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -228,7 +228,7 @@ function bb_find_open_close($s, $open, $close, $occurence = 1) { $start_pos = -1; for ($i = 1; $i <= $occurence; $i++) { - if ( $start_pos !== false) { + if ($start_pos !== false) { $start_pos = strpos($s, $open, $start_pos + 1); } } @@ -255,7 +255,7 @@ function get_bb_tag_pos($s, $name, $occurence = 1) { $start_open = -1; for ($i = 1; $i <= $occurence; $i++) { - if ( $start_open !== false) { + if ($start_open !== false) { $start_open = strpos($s, '[' . $name, $start_open + 1); // allow [name= type tags } }