fix silly typo

This commit is contained in:
Graham Knop 2009-10-05 20:58:58 -05:00
parent 60a4a9b140
commit 19e4c96b38

View file

@ -950,7 +950,7 @@ sub setToEpoch {
}
unless ($dt) {
$self->session->errorHandler->warn("Could not format date $set for epoch. Returning current time");
return $time();
return time();
}
return $dt->epoch;
}