Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 2395-2398 (lines=4) @@
2392
2393
			foreach(isset($extra_tabs[0]) ? $extra_tabs : array($extra_tabs) as $extra_tab)
2394
			{
2395
				if ($extra_tab['data'] && is_array($extra_tab['data']))
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']);

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

@@ 1369-1372 (lines=4) @@
1366
					'label' =>	$extra_tab['label'],
1367
					'template' =>	$extra_tab['name']
1368
				);
1369
				if ($extra_tab['data'] && is_array($extra_tab['data']))
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']);