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; }