Code Duplication    Length = 4-4 lines in 2 locations

addressbook/inc/class.addressbook_ui.inc.php 1 location

@@ 2399-2402 (lines=4) @@
2396
				{
2397
					$content = array_merge($content, $extra_tab['data']);
2398
				}
2399
				if ($extra_tab['preserve'] && is_array($extra_tab['preserve']))
2400
				{
2401
					$preserve = array_merge($preserve, $extra_tab['preserve']);
2402
				}
2403
				if ($extra_tab['readonlys'] && is_array($extra_tab['readonlys']))
2404
				{
2405
					$readonlys = array_merge($readonlys, $extra_tab['readonlys']);

filemanager/inc/class.filemanager_ui.inc.php 1 location

@@ 1376-1379 (lines=4) @@
1373
				{
1374
					$content = array_merge($content, $extra_tab['data']);
1375
				}
1376
				if ($extra_tab['preserve'] && is_array($extra_tab['preserve']))
1377
				{
1378
					$preserve = array_merge($preserve, $extra_tab['preserve']);
1379
				}
1380
				if ($extra_tab['readonlys'] && is_array($extra_tab['readonlys']))
1381
				{
1382
					$readonlys = array_merge($readonlys, $extra_tab['readonlys']);