Fix default mode is edit
This commit is contained in:
parent
f9cd8367ad
commit
73f1b50ea1
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ if (!getDolGlobalString('HRM_MAXRANK')) {
|
|||
$conf->global->HRM_MAXRANK = Skill::DEFAULT_MAX_RANK_PER_SKILL;
|
||||
}
|
||||
|
||||
if ($action == 'edit') {
|
||||
if ($action != 'editxxx') {
|
||||
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||
print '<input type="hidden" name="action" value="update">';
|
||||
|
|
|
|||
Loading…
Reference in a new issue