14 lines
321 B
Diff
14 lines
321 B
Diff
|
diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl
|
||
|
index eb51d76e058..04612394c53 100644
|
||
|
--- a/kernel/timeconst.pl
|
||
|
+++ b/kernel/timeconst.pl
|
||
|
@@ -370,7 +370,7 @@ if ($hz eq '--can') {
|
||
|
}
|
||
|
|
||
|
@val = @{$canned_values{$hz}};
|
||
|
- if (!defined(@val)) {
|
||
|
+ if (!@val) {
|
||
|
@val = compute_values($hz);
|
||
|
}
|
||
|
output($hz, @val);
|