Code Duplication    Length = 4-4 lines in 2 locations

controller/admin_controller.php 2 locations

@@ 256-259 (lines=4) @@
253
		);
254
255
		// Prevent form submit when no user groups are available or selected
256
		if (!$data['autogroups_group_id'])
257
		{
258
			trigger_error($this->language->lang('ACP_AUTOGROUPS_INVALID_GROUPS') . adm_back_link($this->u_action), E_USER_WARNING);
259
		}
260
261
		// Prevent form submit when min and max values are identical
262
		if ($data['autogroups_min_value'] == $data['autogroups_max_value'])
@@ 262-265 (lines=4) @@
259
		}
260
261
		// Prevent form submit when min and max values are identical
262
		if ($data['autogroups_min_value'] == $data['autogroups_max_value'])
263
		{
264
			trigger_error($this->language->lang('ACP_AUTOGROUPS_INVALID_RANGE') . adm_back_link($this->u_action), E_USER_WARNING);
265
		}
266
267
		if ($autogroups_id != 0) // Update existing auto group data
268
		{