Created
January 10, 2020 14:40
-
-
Save apreiml/0745d7d5cfd47f6e485bf08536d6bd74 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl | |
index eb51d76e..0215e3d3 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 (!scalar(@val)) { | |
@val = compute_values($hz); | |
} | |
output($hz, @val); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment