--- loncom/automation/batchcreatecourse.pm 2006/05/11 22:41:38 1.10 +++ loncom/automation/batchcreatecourse.pm 2006/05/23 18:34:40 1.11 @@ -1,5 +1,5 @@ # -# $Id: batchcreatecourse.pm,v 1.10 2006/05/11 22:41:38 raeburn Exp $ +# $Id: batchcreatecourse.pm,v 1.11 2006/05/23 18:34:40 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -668,7 +668,7 @@ sub process_date { $entries[2] = 29; } if ($entries[2] == 29) { - unless ($entries[0]%4) == 0) { + unless ($entries[0]%4 == 0) { $entries[2] == 28; } }