Skip to content

Commit

Permalink
Fix #548
Browse files Browse the repository at this point in the history
  • Loading branch information
charleneauger committed Aug 16, 2018
1 parent 4580743 commit e606af2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/main_sections/ms_admininfo/ms_admininfo.php
Expand Up @@ -56,7 +56,7 @@
$data_on[3] = $l->g(1701);
$data_on[4] = $l->g(1702);

if (isset($protectedPost['MODIF']) && is_numeric($protectedPost['MODIF']) && !isset($protectedPost['Valid_modif']) && $protectedPost['onglet'] = 1) {
if (isset($protectedPost['MODIF']) && is_numeric($protectedPost['MODIF']) && !isset($protectedPost['Valid_modif']) && $protectedPost['onglet'] == 1) {
$protectedPost['onglet'] = 2;
$accountinfo_detail = find_info_accountinfo($protectedPost['MODIF']);
$protectedPost['newfield'] = $accountinfo_detail[$protectedPost['MODIF']]['name'];
Expand All @@ -68,7 +68,7 @@
$hidden = $protectedPost['MODIF'];
}

if (isset($protectedPost['MODIF']) && is_numeric($protectedPost['MODIF']) && !isset($protectedPost['Valid_modif']) && $protectedPost['onglet'] = 3) {
if (isset($protectedPost['MODIF']) && is_numeric($protectedPost['MODIF']) && !isset($protectedPost['Valid_modif']) && $protectedPost['onglet'] == 3) {
$protectedPost['onglet'] = 4;
$val_info = look_config_default_values(array("TAB_ACCOUNTAG_" . $protectedPost['MODIF']));
$protectedPost['newfield'] = $val_info['tvalue']["TAB_ACCOUNTAG_" . $protectedPost['MODIF']];
Expand Down

0 comments on commit e606af2

Please sign in to comment.