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

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