aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Display.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-03 19:18:35 -0700
committerzotlabs <mike@macgirvin.com>2017-11-03 19:18:35 -0700
commit1d903655afdd8e49942c6d6c9ca1a7feadeaaa82 (patch)
tree892c93a0a3e434b6e8ff8c04d3d7107cf1e12750 /Zotlabs/Module/Display.php
parent0403738981487b7edec20b11a85849254366a202 (diff)
parenta899ce1c22386b9ff882048cba35d46f560ee654 (diff)
downloadvolse-hubzilla-1d903655afdd8e49942c6d6c9ca1a7feadeaaa82.tar.gz
volse-hubzilla-1d903655afdd8e49942c6d6c9ca1a7feadeaaa82.tar.bz2
volse-hubzilla-1d903655afdd8e49942c6d6c9ca1a7feadeaaa82.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Module/Display.php')
-rw-r--r--Zotlabs/Module/Display.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index 85f08fd08..266a5b6bf 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -12,6 +12,8 @@ class Display extends \Zotlabs\Web\Controller {
function get($update = 0, $load = false) {
+ $module_format = 'html';
+
if(argc() > 1) {
$module_format = substr(argv(1),strrpos(argv(1),'.') + 1);
if(! in_array($module_format,['atom','zot','json']))