Several enhancements to the wobject architecture.
This commit is contained in:
parent
62b2066a85
commit
b491e0f922
3 changed files with 9 additions and 7 deletions
|
|
@ -145,7 +145,7 @@ sub get {
|
|||
=cut
|
||||
|
||||
sub inDateRange {
|
||||
if ($_[0]->get("startDate") < time() && $_[0]->get("startDate") > time()) {
|
||||
if ($_[0]->get("startDate") < time() && $_[0]->get("endDate") > time()) {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue