From a23cdf1ee425e024139cc1647a8760c593feac5a Mon Sep 17 00:00:00 2001 From: "Riley L." Date: Wed, 1 Jan 2025 22:18:27 +0100 Subject: [PATCH] fix missusage of invalid_price instead of invalid_name when validating new product --- abrechenbarkeit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua index 5bdd4ab..1243d06 100755 --- a/abrechenbarkeit.lua +++ b/abrechenbarkeit.lua @@ -669,7 +669,7 @@ local function r_products_post() return error_box("{+error.invalid_price}") end if name == nil or name:match(matchers_global.name) == nil then - return error_box("{+error.invalid_price}") + return error_box("{+error.invalid_name}") end if user == nil or user:match(matchers_global.user) == nil then return error_box("{+error.invalid_user}")