mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix error when array is passed to isModuleUsingPublishValidation()
This commit is contained in:
parent
9aaf785309
commit
600811a8f0
1 changed files with 1 additions and 1 deletions
|
|
@ -486,7 +486,7 @@ class CommentController extends Comment
|
|||
*/
|
||||
function isModuleUsingPublishValidation($module_srl = NULL)
|
||||
{
|
||||
if($module_srl == NULL)
|
||||
if($module_srl == NULL || is_array($module_srl))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue