mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 14:10:28 +01:00
mahnwesen bugfix delete
This commit is contained in:
parent
7c17b2aed9
commit
265d815534
@ -18,6 +18,7 @@ class Mahnwesen {
|
|||||||
$this->app->ActionHandler("create", "mahnwesen_edit"); // This automatically adds a "New" button
|
$this->app->ActionHandler("create", "mahnwesen_edit"); // This automatically adds a "New" button
|
||||||
$this->app->ActionHandler("edit", "mahnwesen_edit");
|
$this->app->ActionHandler("edit", "mahnwesen_edit");
|
||||||
$this->app->ActionHandler("einstellungen", "mahnwesen_einstellungen");
|
$this->app->ActionHandler("einstellungen", "mahnwesen_einstellungen");
|
||||||
|
$this->app->ActionHandler("delete", "mahnwesen_delete");
|
||||||
$this->app->DefaultActionHandler("list");
|
$this->app->DefaultActionHandler("list");
|
||||||
$this->app->ActionHandlerListen($app);
|
$this->app->ActionHandlerListen($app);
|
||||||
}
|
}
|
||||||
@ -382,7 +383,7 @@ class Mahnwesen {
|
|||||||
$this->app->DB->Delete("DELETE FROM `mahnwesen` WHERE `id` = '{$id}'");
|
$this->app->DB->Delete("DELETE FROM `mahnwesen` WHERE `id` = '{$id}'");
|
||||||
$this->app->Tpl->Set('MESSAGE', "<div class=\"error\">Der Eintrag wurde gelöscht.</div>");
|
$this->app->Tpl->Set('MESSAGE', "<div class=\"error\">Der Eintrag wurde gelöscht.</div>");
|
||||||
|
|
||||||
$this->mahnwesen_list();
|
$this->mahnwesen_einstellungen();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user