From: Grischa Brockhaus Date: Fri, 25 Nov 2022 01:21:03 +0000 (+0100) Subject: Code formatting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d584196215e1bb3e57bccb2bf9b217ff43a94e7a;p=friendica-addons.git Code formatting Wow.. This is very picky... |-( --- diff --git a/fancybox/fancybox.php b/fancybox/fancybox.php index a0279914..3fb548b9 100644 --- a/fancybox/fancybox.php +++ b/fancybox/fancybox.php @@ -41,12 +41,14 @@ function fancybox_render(App $a, array &$b) } $html = $b['html']; while (preg_match($pattern, $html, $matches, PREG_OFFSET_CAPTURE)) { - if (is_array($matches)) $matches = $matches[0]; - $part = $matches[0]; + if (is_array($matches)) { + $matches = $matches[0]; + } + $part = $matches[0]; $replaced = str_replace('