aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-03 10:04:25 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-03 10:04:25 +0100
commit1567b7b383c56eec5998450a3b709963d5026570 (patch)
tree90a581943f1c44e0a54cc3ff81bff642bc7c8658 /Zotlabs/Module
parent8f59b2d3e03b579d62efce9067acbcd32c5ac2b5 (diff)
downloadvolse-hubzilla-1567b7b383c56eec5998450a3b709963d5026570.tar.gz
volse-hubzilla-1567b7b383c56eec5998450a3b709963d5026570.tar.bz2
volse-hubzilla-1567b7b383c56eec5998450a3b709963d5026570.zip
set $module_format to html to not break updates. it will be set to something else later if appropriate
Diffstat (limited to 'Zotlabs/Module')
-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']))