Fix optional parameter before required parameter

This commit is contained in:
Kijin Sung 2022-12-27 22:54:31 +09:00
parent f74976508e
commit db3fb20a52

View file

@ -280,7 +280,7 @@ class editorModel extends editor
* 2 types of editors supported; document and comment.
* 2 types of editors can be used on a single module. For instance each for original post and reply port.
*/
public static function getModuleEditor($type = 'document', $module_srl, $upload_target_srl, $primary_key_name, $content_key_name)
public static function getModuleEditor($type, $module_srl, $upload_target_srl, $primary_key_name, $content_key_name)
{
// Get editor settings of the module
$editor_config = self::getEditorConfig($module_srl);