#211 module_srl 체크 제거(위젯페이지 내부 문서 수정불가 문제)

This commit is contained in:
khongchi 2014-01-29 16:59:41 +09:00
parent 65f59c1e1b
commit 6e478dc8d7

View file

@ -155,10 +155,10 @@ class ModuleHandler extends Handler
{
// If it exists, compare mid based on the module information
// if mids are not matching, set it as the document's mid
if(!$this->mid || ($this->mid && $this->mid != $module_info->mid) || ($this->module_srl && $this->module_srl != $module_info->module_srl))
if(!$this->mid || ($this->mid && $this->mid != $module_info->mid))
{
$this->mid = $module_info->mid;
header('location:' . getNotEncodedSiteUrl($site_info->domain, 'mid', $this->mid, 'document_srl', $this->document_srl, 'module_srl',''));
header('location:' . getNotEncodedSiteUrl($site_info->domain, 'mid', $this->mid, 'document_srl', $this->document_srl));
return FALSE;
}