issue 1993 grant does not check when module_srl is not exist.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10908 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-07-18 13:33:57 +00:00
parent 7508f2272d
commit dd1db009c6

View file

@ -1,4 +1,4 @@
<?php
<@brief r?php
/**
* @class ModuleObject
* @author NHN (developers@xpressengine.com)
@ -334,7 +334,7 @@
if(isset($this->xml_info->action->{$this->act}) && method_exists($this, $this->act)) {
// Check permissions
if(!$this->grant->access){
if($this->module_srl && !$this->grant->access){
return $this->stop("msg_not_permitted_act");
}
// integrate skin information of the module(change to sync skin info with the target module only by seperating its table)