diff options
| author | Riley L. <riley@e926.de> | 2026-01-19 20:49:34 +0100 |
|---|---|---|
| committer | Riley L. <riley@e926.de> | 2026-01-19 20:49:34 +0100 |
| commit | 1d423abdfc52466ed6cc27c4f67d54edf0025efd (patch) | |
| tree | 29fa33e705caa0373a59c572daa59e17d4f3a041 | |
| parent | edbd93c2c4bd5a01b369b044e9fb4e44fac9e798 (diff) | |
| download | abrechenbarkeit-1d423abdfc52466ed6cc27c4f67d54edf0025efd.tar abrechenbarkeit-1d423abdfc52466ed6cc27c4f67d54edf0025efd.tar.bz2 abrechenbarkeit-1d423abdfc52466ed6cc27c4f67d54edf0025efd.tar.zst | |
change default of max_amount to actually reflect the largest 12 digit integer
| -rwxr-xr-x | abrechenbarkeit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua index 2496a1b..ba7259f 100755 --- a/abrechenbarkeit.lua +++ b/abrechenbarkeit.lua @@ -385,7 +385,7 @@ local function r_transaction_post() local pcount = tonumber(data.pcount) local comment = data.comment local pname = data.pname - local max_amount = tonumber(config["max_amount"]) or 9999999999999 + local max_amount = tonumber(config["max_amount"]) or 999999999999 if math.abs(amount) > max_amount then return error_box(format("{+error.invalid_amount} - {+max_amount}", { |