aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Item.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Item.php')
-rw-r--r--Zotlabs/Widget/Item.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Item.php b/Zotlabs/Widget/Item.php
index 273d5649c..9fd703dfe 100644
--- a/Zotlabs/Widget/Item.php
+++ b/Zotlabs/Widget/Item.php
@@ -1,5 +1,11 @@
<?php
+/**
+ * * Name: Item
+ * * Description: Display a webpage by title or mid,
+ * * Requires: channel, articles, cards, wiki
+ */
+
namespace Zotlabs\Widget;
require_once('include/security.php');
@@ -35,7 +41,7 @@ class Item {
);
}
else {
- $r = q("select * from item where mid = '%s' and uid = %d and item_type = "
+ $r = q("select * from item where mid = '%s' and uid = %d and item_type = "
. intval(ITEM_TYPE_WEBPAGE) . " $sql_extra limit 1",
dbesc($arr['mid']),
intval($channel_id)