aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-29 19:52:00 -0700
committerzotlabs <mike@macgirvin.com>2017-10-29 19:52:00 -0700
commitceed0f7a1b6d7ee713c23937a9449bd84324caf6 (patch)
tree5965dcc382e48b1918abb77bcfd2626ac63c2470 /Zotlabs/Module
parent906d91d4d11242b55d48cf7dd4235bd2c9773aa4 (diff)
downloadvolse-hubzilla-ceed0f7a1b6d7ee713c23937a9449bd84324caf6.tar.gz
volse-hubzilla-ceed0f7a1b6d7ee713c23937a9449bd84324caf6.tar.bz2
volse-hubzilla-ceed0f7a1b6d7ee713c23937a9449bd84324caf6.zip
allow plugin class widgets, fix sql error in page module
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Page.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Page.php b/Zotlabs/Module/Page.php
index d794a43a1..5fdd32825 100644
--- a/Zotlabs/Module/Page.php
+++ b/Zotlabs/Module/Page.php
@@ -100,7 +100,7 @@ class Page extends \Zotlabs\Web\Controller {
$r = q("select item.* from item left join iconfig on item.id = iconfig.iid
where item.uid = %d and iconfig.cat = 'system' and iconfig.v = '%s' and item.item_delayed = 0
and iconfig.k = 'WEBPAGE' and item_type = %d
- OR ( iconfig.k = 'PDL' AND item_type = %d )) $sql_options $revision limit 1",
+ $sql_options $revision limit 1",
intval($u[0]['channel_id']),
dbesc($page_id),
intval(ITEM_TYPE_WEBPAGE)