Code Duplication    Length = 10-10 lines in 2 locations

programs/vacadm.php 2 locations

@@ 76-85 (lines=10) @@
73
				$this->tcolorval = bab_toHtml($arr['color']);
74
				$this->recover = (bool) $arr['recover'];
75
76
				if( $arr['cbalance'] == 'Y')
77
					{
78
					$this->yselected = 'selected';
79
					$this->nselected = '';
80
					}
81
				else
82
					{
83
					$this->yselected = '';
84
					$this->nselected = 'selected';
85
					}
86
				}
87
			else
88
				{
@@ 94-103 (lines=10) @@
91
				$this->tcolorval = bab_toHtml($tcolor);
92
				$this->recover = false;
93
94
				if( $cbalance == 'N')
95
					{
96
					$this->nselected = 'selected';
97
					$this->yselected = '';
98
					}
99
				else
100
					{
101
					$this->nselected = '';
102
					$this->yselected = 'selected';
103
					}
104
				}
105
106
			if( $what == "modvt" )