From 832adf92a65489dd9ee253453d1421e36a9af9d5 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Thu, 8 Aug 2019 18:30:08 +0200 Subject: Update zid.php --- include/zid.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/zid.php') diff --git a/include/zid.php b/include/zid.php index 4b17e1cd2..aaa509a09 100644 --- a/include/zid.php +++ b/include/zid.php @@ -219,11 +219,11 @@ function red_zrl_callback($matches) { if($matches[1] === '#^') $matches[1] = ''; - - if($zrl) - return $matches[1] . '#^[zrl=' . $matches[2] . ']' . $matches[2] . '[/zrl]' . $pts[0]; - - return $matches[1] . '#^[url=' . $matches[2] . ']' . $matches[2] . '[/url]' . $pts[0]; + + if($zrl) + return $matches[1] . '#^[zrl=' . $matches[2] . ']' . $matches[2] . '[/zrl]' . $pts[0]; + + return $matches[1] . '#^[url=' . $matches[2] . ']' . $matches[2] . '[/url]' . $pts[0]; } /** -- cgit v1.2.3