From d584196215e1bb3e57bccb2bf9b217ff43a94e7a Mon Sep 17 00:00:00 2001 From: Grischa Brockhaus Date: Fri, 25 Nov 2022 02:21:03 +0100 Subject: [PATCH] Code formatting Wow.. This is very picky... |-( --- fancybox/fancybox.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fancybox/fancybox.php b/fancybox/fancybox.php index a0279914c..3fb548b9e 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('