- fix [ 1381694 ] Unable to reset votes on poll

- fix [ 1381309 ] FormParam macro returns always undef
 - fix [ 1379595 ] http proxy broken
 - fix [ 1379060 ] Unable to view subscription codes
This commit is contained in:
JT Smith 2005-12-16 16:28:21 +00:00
parent bc909dff10
commit 6944fe3316
6 changed files with 15 additions and 3 deletions

View file

@ -130,7 +130,9 @@ The number of seconds to add to the epoch.
=cut
sub addToTime {
my $date = DateTime->from_epoch( epoch =>shift);
my $epoch = shift;
return undef unless $epoch;
my $date = DateTime->from_epoch( epoch =>$epoch);
my $hours = shift || 0;
my $mins = shift || 0;
my $secs = shift || 0;