From f1a118af6b7a1622e2f031063a2107a6afa3f18a Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Fri, 5 Jan 2024 11:44:45 +0100 Subject: [PATCH] module_creator bugfix DisableModul --- tools/module_creator/module_creator_php_template.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/module_creator/module_creator_php_template.txt b/tools/module_creator/module_creator_php_template.txt index 51402e00..ab6d41e3 100644 --- a/tools/module_creator/module_creator_php_template.txt +++ b/tools/module_creator/module_creator_php_template.txt @@ -101,7 +101,7 @@ class PLACEHOLDER_MODULECLASSNAME { $id = $this->app->Secure->GetGET('id'); // Check if other users are editing this id - if($this->app->erp->DisableModul('artikel',$id)) + if($this->app->erp->DisableModul('PLACEHOLDER_MODULENAME',$id)) { return; }