aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-08-08 18:30:08 +0200
committerMax Kostikov <max@kostikov.co>2019-08-08 18:30:08 +0200
commit832adf92a65489dd9ee253453d1421e36a9af9d5 (patch)
tree6b113650fc48e1f341c17e42693d6332d706e8d9
parent33e258291870fcfe22ea8522c5e97d3bdeb84437 (diff)
downloadvolse-hubzilla-832adf92a65489dd9ee253453d1421e36a9af9d5.tar.gz
volse-hubzilla-832adf92a65489dd9ee253453d1421e36a9af9d5.tar.bz2
volse-hubzilla-832adf92a65489dd9ee253453d1421e36a9af9d5.zip
Update zid.php
-rw-r--r--include/zid.php10
1 files changed, 5 insertions, 5 deletions
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];
}
/**