Merge branch 'new/bug11240'

This commit is contained in:
Galen Charlton 2013-11-14 23:06:17 +00:00
commit f846e9aa76

View file

@ -104,7 +104,11 @@ foreach my $d ( @debarments_to_remove ) {
if ( $input->param('add_debarment') ) {
my $expiration = $input->param('debarred_expiration');
$expiration = $expiration ? output_pref( dt_from_string($expiration), 'iso' ) : undef;
$expiration =
$expiration
? output_pref(
{ 'dt' => dt_from_string($expiration), 'dateformat' => 'iso' } )
: undef;
AddUniqueDebarment(
{