First try the code, then commit.
First try the code, then commit. First try the code, then commit.
This commit is contained in:
parent
115c6560f4
commit
4ee6f4f866
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ sub is_rule_valid_today
|
||||||
{
|
{
|
||||||
my $device_id = $_[0];
|
my $device_id = $_[0];
|
||||||
my $now = $_[1];
|
my $now = $_[1];
|
||||||
my $rule = $device_cfg[$i][10];
|
my $rule = $device_cfg[$device_id][10];
|
||||||
|
|
||||||
(my $week_rule) = $rule =~/^([e|o])/;
|
(my $week_rule) = $rule =~/^([e|o])/;
|
||||||
if ($week_rule) {
|
if ($week_rule) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue