aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinclude/oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php
index 5865c95d5..e35a77fa3 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -134,7 +134,7 @@ function oembed_fetch_url($embedurl){
$txt = null;
// we should try to cache this and avoid a lookup on each render
- $zrl = is_matrix_url($embedurl);
+ $zrl = ((get_config('system','oembed_zrl')) ? is_matrix_url($embedurl) : false);
$furl = ((local_channel() && $zrl) ? zid($embedurl) : $embedurl);