if we do not have a layout $layout should be empty not default

This commit is contained in:
Mario Vavti 2016-05-09 12:24:48 +02:00
parent 7aeff7505b
commit 61909d2480

View file

@ -1154,7 +1154,7 @@ function status_editor($a, $x, $popup = false) {
if(x($x, 'hide_attach'))
$writefiles = false;
$layout = ((x($x,'layout')) ? $x['layout'] : 'default');
$layout = ((x($x,'layout')) ? $x['layout'] : '');
$layoutselect = ((x($x,'layoutselect')) ? $x['layoutselect'] : false);
if($layoutselect)