set $module_format to html to not break updates. it will be set to something else later if appropriate
This commit is contained in:
parent
8f59b2d3e0
commit
1567b7b383
@ -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']))
|
||||
|
Reference in New Issue
Block a user