Index: trunk/extensions/DonationInterface/gateway_forms/Form.php |
— | — | @@ -455,7 +455,7 @@ |
456 | 456 | $return .= ' <td><label><input type="radio" name="amountRadio" value="250" ' . ( $amount == '250' ? $checked : '' ) . '/> 250</label></td>'; |
457 | 457 | $return .= ' <td>'; |
458 | 458 | $return .= ' <input type="radio" name="amountRadio" id="input_amount_other" value="other" ' . ( $isOther ? $checked : '' ) . ' />'; |
459 | | - $return .= ' <label><input type="text" class="txt-sm hint" name="amountGiven" size="4" id="other-amount" title="Other..." onfocus="" value="' . $amountOther . '" /></label>'; |
| 459 | + $return .= ' <label><input type="text" class="txt-sm hint" name="amountGiven" size="4" id="other-amount" title="Other..." onfocus="" value="' . htmlspecialchars( $amountOther ) . '" /></label>'; |
460 | 460 | |
461 | 461 | // Add hidden amount field for validation |
462 | 462 | $return .= Html::hidden( 'amount', $amount ); |