aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-04 21:02:44 -0700
committerzotlabs <mike@macgirvin.com>2017-09-04 21:02:44 -0700
commit05654e498034329759351c4a64349734ce6b7204 (patch)
tree33ae0b4ac6392f72540a9f9db1c1c1c45c48e659 /Zotlabs/Module
parentba4f75ba1976a1306ba96c4d5bffc8728d4fc23b (diff)
downloadvolse-hubzilla-05654e498034329759351c4a64349734ce6b7204.tar.gz
volse-hubzilla-05654e498034329759351c4a64349734ce6b7204.tar.bz2
volse-hubzilla-05654e498034329759351c4a64349734ce6b7204.zip
card embed improved
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Oep.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Oep.php b/Zotlabs/Module/Oep.php
index 9a1317142..5e06d3540 100644
--- a/Zotlabs/Module/Oep.php
+++ b/Zotlabs/Module/Oep.php
@@ -172,7 +172,7 @@ class Oep extends \Zotlabs\Web\Controller {
if(! perm_is_allowed($channel['channel_id'],get_observer_hash(),'view_pages'))
return $ret;
- $sql_extra = items_permissions_sql($channel['channel_id'],get_observer_hash());
+ $sql_extra = item_permissions_sql($channel['channel_id'],get_observer_hash());
$r = q("select * from iconfig where iconfig.cat = 'system' and iconfig.k = 'CARD' and iconfig.v = '%s' limit 1",
dbesc($res)
@@ -183,7 +183,7 @@ class Oep extends \Zotlabs\Web\Controller {
else {
return $ret;
}
-
+
$r = q("select * from item
where item.uid = %d and item_type = %d
$sql_extra order by item.created desc",