Changeset 2347 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/sponsor-invoice.php
- Timestamp:
- 01/21/2016 08:41:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/sponsor-invoice.php
r2327 r2347 376 376 377 377 if ( 'amount' == $field ) { 378 $value = preg_replace( '#[^\d.-]+#', '', $value ); 379 $value = round( floatval( $value ), 2 ); 378 $value = \WordCamp_Budgets::validate_amount( $value ); 380 379 } 381 380
Note: See TracChangeset
for help on using the changeset viewer.