페이지 편집 페이지에서 '모듈 설정 화면' 설정과는 상관없이 무조건 사용자 레이아웃 적용

레이아웃마다 너비가 모두 다르므로 관리자 레이아웃 적용시 정확도가 엄청 떨어짐
This commit is contained in:
conory 2018-08-14 15:20:00 +09:00
parent 65a96a0344
commit 9e59a6d839
2 changed files with 8 additions and 6 deletions

View file

@ -456,9 +456,7 @@ class ModuleObject extends BaseObject
* */
function setLayoutFile($filename)
{
if(!$filename) return;
if(substr_compare($filename, '.html', -5) !== 0)
if($filename && substr_compare($filename, '.html', -5) !== 0)
{
$filename .= '.html';
}