This commit is contained in:
Jean-Christian Paul Denis 2022-12-26 21:27:42 +01:00
parent bf46401a05
commit ea7ac3b83e
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ if (!empty($_POST['save'])) {
);
dcCore::app()->adminurl->redirect(
'admin.plugins',
['module' => 'translater', 'conf' => 1, 'redir' => dcCore::app()->admin->list->getRedir()]
['module' => 'translater', 'conf' => 1, 'redir' => dcCore::app()->admin->__get('list')->getRedir()]
);
} catch (Exception $e) {
dcCore::app()->error->add($e->getMessage());

View File

@ -16,7 +16,7 @@ if (!defined('DC_CONTEXT_ADMIN')) {
try {
if (!dcCore::app()->newVersion(
basename(__DIR__),
basename(__DIR__),
dcCore::app()->plugins->moduleInfo(basename(__DIR__), 'version')
)) {
return null;