Skip to content

Commit c4a9fa4

Browse files
authored
Merge pull request #118 from leemyongpakvn/patch-2
Simplify token getting
2 parents 227ac72 + f3fbb97 commit c4a9fa4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

classes/Form/ConfigurationForm.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ public function generate()
7272
'save' => [
7373
'desc' => $this->module->l('Save'),
7474
'href' => AdminController::$currentIndex . '&configure=' . $this->module->name . '&save=' . $this->module->name .
75-
'&token=' . Tools::getAdminTokenLite('AdminModules'),
75+
'&token=' . $helper->token,
7676
],
7777
'back' => [
78-
'href' => AdminController::$currentIndex . '&token=' . Tools::getAdminTokenLite('AdminModules'),
78+
'href' => AdminController::$currentIndex . '&token=' . $helper->token,
7979
'desc' => $this->module->l('Back to list'),
8080
],
8181
];

0 commit comments

Comments
 (0)