Code Duplication    Length = 2-3 lines in 2 locations

lib/xmlrpc.inc 2 locations

@@ 494-495 (lines=2) @@
491
				case 'FAULT':
492
					$GLOBALS['_xh']['isf']=1;
493
					break;
494
				case 'MEMBER':
495
					$GLOBALS['_xh']['valuestack'][count($GLOBALS['_xh']['valuestack'])-1]['name']=''; // set member name to null, in case we do not find in the xml later on
496
					//$GLOBALS['_xh']['ac']='';
497
					// Drop trough intentionally
498
				case 'PARAM':
@@ 685-687 (lines=3) @@
682
					//$GLOBALS['_xh']['ac']=''; // is this necessary?
683
					$GLOBALS['_xh']['lv']=3; // indicate we've found a value
684
					break;
685
				case 'NAME':
686
					$GLOBALS['_xh']['valuestack'][count($GLOBALS['_xh']['valuestack'])-1]['name'] = $GLOBALS['_xh']['ac'];
687
					break;
688
				case 'MEMBER':
689
					//$GLOBALS['_xh']['ac']=''; // is this necessary?
690
					// add to array in the stack the last element built,