aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-03-25 11:58:38 +0100
committerMario <mario@mariovavti.com>2019-03-25 11:58:38 +0100
commitbd27ce252067a8336b7b2e74b0972865867308de (patch)
treeaf21f5969a5feff3084b0d31be10898bddd19274
parent0a282072008c219a616fe1f81d8cc604b9162889 (diff)
parentaf84c4e6bda2c34658501eaa89cdfed73d519783 (diff)
downloadvolse-hubzilla-bd27ce252067a8336b7b2e74b0972865867308de.tar.gz
volse-hubzilla-bd27ce252067a8336b7b2e74b0972865867308de.tar.bz2
volse-hubzilla-bd27ce252067a8336b7b2e74b0972865867308de.zip
Merge branch 'patch-20190324a' into 'dev'
Add ITEM_TYPE_CUSTOM support to Zotlabs/Module/Display.php See merge request hubzilla/core!1572
-rw-r--r--Zotlabs/Module/Display.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index 258aac556..5983578b3 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -175,6 +175,11 @@ class Display extends \Zotlabs\Web\Controller {
return '';
}
}
+ if ($target_item['item_type'] == ITEM_TYPE_CUSTOM) {
+ call_hooks('item_custom_display',$target_item);
+ notice( t('Page not found.') . EOL);
+ return '';
+ }
$static = ((array_key_exists('static',$_REQUEST)) ? intval($_REQUEST['static']) : 0);