Fixed bug where submenu is displayed twice after copying style
This commit is contained in:
parent
26f0dfc077
commit
eed58af22d
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ sub www_copyStyle {
|
|||
%style = WebGUI::SQL->quickHash("select * from style where styleId=$session{form}{sid}");
|
||||
WebGUI::SQL->write("insert into style (styleId,name,body,styleSheet) values (".getNextId("styleId").",
|
||||
".quote('Copy of '.$style{name}).", ".quote($style{body}).", ".quote($style{styleSheet}).")");
|
||||
return _submenu(www_listStyles());
|
||||
return www_listStyles();
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue