Bug 36466: (follow-up) Use NULL for blank planned and published dates instead of today
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 2e3325a680)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
parent
6dc82ebb74
commit
a79a7b4808
|
|
@ -209,10 +209,10 @@ if ( $op and $op eq 'cud-serialchangestatus' ) {
|
|||
my ( $plan_date, $pub_date );
|
||||
|
||||
if ( defined $planneddates[$i] && $planneddates[$i] ne 'XXX' ) {
|
||||
$plan_date = $planneddates[$i] || $today;
|
||||
$plan_date = $planneddates[$i] || undef;
|
||||
}
|
||||
if ( defined $publisheddates[$i] && $publisheddates[$i] ne 'XXX' ) {
|
||||
$pub_date = $publisheddates[$i] || $today;
|
||||
$pub_date = $publisheddates[$i] || undef;
|
||||
}
|
||||
|
||||
if ( $serialids[$i] && $serialids[$i] eq 'NEW' ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue