if we do not have a layout $layout should be empty not default
This commit is contained in:
parent
7aeff7505b
commit
61909d2480
@ -1154,7 +1154,7 @@ function status_editor($a, $x, $popup = false) {
|
|||||||
if(x($x, 'hide_attach'))
|
if(x($x, 'hide_attach'))
|
||||||
$writefiles = false;
|
$writefiles = false;
|
||||||
|
|
||||||
$layout = ((x($x,'layout')) ? $x['layout'] : 'default');
|
$layout = ((x($x,'layout')) ? $x['layout'] : '');
|
||||||
|
|
||||||
$layoutselect = ((x($x,'layoutselect')) ? $x['layoutselect'] : false);
|
$layoutselect = ((x($x,'layoutselect')) ? $x['layoutselect'] : false);
|
||||||
if($layoutselect)
|
if($layoutselect)
|
||||||
|
Reference in New Issue
Block a user