Index: trunk/extensions/EducationProgram/includes/EPHTMLCombobox.php |
— | — | @@ -20,6 +20,10 @@ |
21 | 21 | } |
22 | 22 | |
23 | 23 | function getInputHTML( $value ) { |
| 24 | + if ( !in_array( $value, $this->mParams['options'] ) ) { |
| 25 | + $this->mParams['options'][$value] = $value; |
| 26 | + } |
| 27 | + |
24 | 28 | return parent::getInputHTML( $value ); |
25 | 29 | } |
26 | 30 | |