- 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:
parent
bc909dff10
commit
6944fe3316
6 changed files with 15 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue