projects
/
SonOfLokstallBot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The webhook script needs to use the rewind technique
[SonOfLokstallBot.git]
/
src
/
common.php
diff --git
a/src/common.php
b/src/common.php
index
bc627f4
..
e71dc5a
100644
(file)
--- a/
src/common.php
+++ b/
src/common.php
@@
-395,7
+395,7
@@
function getFilePathsForYear(int $year) {
function closestIndex(int $n, array $list) {
$a = map(function(int $v) use ($n) : int {
- return
(int)
abs($v - $n);
+ return abs($v - $n);
})
($list);