First try the code, then commit.

First try the code, then commit.
First try the code, then commit.
This commit is contained in:
Anders Betnér 2008-03-02 23:34:59 +00:00
parent 115c6560f4
commit 4ee6f4f866

View file

@ -353,7 +353,7 @@ sub is_rule_valid_today
{
my $device_id = $_[0];
my $now = $_[1];
my $rule = $device_cfg[$i][10];
my $rule = $device_cfg[$device_id][10];
(my $week_rule) = $rule =~/^([e|o])/;
if ($week_rule) {