aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-07-25 12:25:27 +0200
committerMax Kostikov <max@kostikov.co>2019-07-25 12:25:27 +0200
commit5695350e98a8a2c802ff419c5b29b0f01f0180df (patch)
tree66fe3d69f857c0e57233dbb848022c61c459b012 /include/bbcode.php
parent4e3a0720c3c1dc6906adb055769254d77c740ba3 (diff)
downloadvolse-hubzilla-5695350e98a8a2c802ff419c5b29b0f01f0180df.tar.gz
volse-hubzilla-5695350e98a8a2c802ff419c5b29b0f01f0180df.tar.bz2
volse-hubzilla-5695350e98a8a2c802ff419c5b29b0f01f0180df.zip
Revert "Merge branch 'dev' into 'dev'"
This reverts merge request !1694
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index df91356de..485a1f5b2 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -70,7 +70,7 @@ function bb_tag_preg_replace($pattern, $replace, $name, $s) {
function tryoembed($match) {
- $url = ((count($match) == 3) ? $match[1] : $match[2]);
+ $url = ((count($match) == 2) ? $match[1] : $match[2]);
$o = oembed_fetch_url($url);