mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 2321 if module_srl is null, return false
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11174 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3bfce53fe6
commit
48cb160b99
1 changed files with 5 additions and 0 deletions
|
|
@ -114,6 +114,11 @@
|
|||
*/
|
||||
function isModuleUsingPublishValidation($module_srl=null)
|
||||
{
|
||||
if(!$module_srl == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
|
||||
$module_part_config = $oModuleModel->getModulePartConfig('comment',$module_info->module_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue