aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php2
-rwxr-xr-xinclude/oembed.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 30cde0745..e6ab52239 100755
--- a/include/items.php
+++ b/include/items.php
@@ -159,7 +159,7 @@ function filter_insecure($channel_id, $arr) {
$ret = array();
- if((! intval(get_config($channel_id, 'system', 'filter_insecure_collections'))) || (! $arr))
+ if((! intval(get_pconfig($channel_id, 'system', 'filter_insecure_collections'))) || (! $arr))
return $arr;
$str = '';
diff --git a/include/oembed.php b/include/oembed.php
index 0628afaa9..a11a64eec 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -95,7 +95,8 @@ function oembed_fetch_url($embedurl){
Cache::set($a->videowidth . $embedurl,$txt);
}
-
+
+
$j = json_decode($txt);
$j->embedurl = $embedurl;
return $j;