GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 10-10 lines in 2 locations

modules/board/board.controller.php 2 locations

@@ 44-53 (lines=10) @@
41
42
		$oModuleModel = getModel('module');
43
		$module_config = $oModuleModel->getModuleInfoByModuleSrl($obj->module_srl);
44
		if($module_config->mobile_use_editor === 'Y')
45
		{
46
			if(!isset($obj->use_editor)) $obj->use_editor = 'Y';
47
			if(!isset($obj->use_html)) $obj->use_html = 'Y';
48
		}
49
		else
50
		{
51
			if(!isset($obj->use_editor)) $obj->use_editor = 'N';
52
			if(!isset($obj->use_html)) $obj->use_html = 'N';
53
		}
54
55
		settype($obj->title, "string");
56
		if($obj->title == '') $obj->title = cut_str(trim(strip_tags(nl2br($obj->content))),20,'...');
@@ 284-293 (lines=10) @@
281
282
		$oModuleModel = getModel('module');
283
		$module_config = $oModuleModel->getModuleInfoByModuleSrl($obj->module_srl);
284
		if($module_config->mobile_use_editor === 'Y')
285
		{
286
			if(!isset($obj->use_editor)) $obj->use_editor = 'Y';
287
			if(!isset($obj->use_html)) $obj->use_html = 'Y';
288
		}
289
		else
290
		{
291
			if(!isset($obj->use_editor)) $obj->use_editor = 'N';
292
			if(!isset($obj->use_html)) $obj->use_html = 'N';
293
		}
294
295
		// check if the doument is existed
296
		$oDocumentModel = getModel('document');