Fixed bug in meta user_edir form url

This commit is contained in:
Luis Calvo 2019-05-30 17:23:32 +02:00
parent 2c36631130
commit cdbd5b3487
1 changed files with 5 additions and 1 deletions

View File

@ -616,7 +616,11 @@ foreach ($timezones as $timezone_name => $tz) {
} }
} }
echo '<form name="user_mod" method="post" action="'.ui_get_full_url('index.php?sec=workspace&sec2=operation/users/user_edit').'&amp;modified=1&amp;id='.$id.'&amp;pure='.$config['pure'].'">'; if (is_metaconsole()) {
echo '<form name="user_mod" method="post" action="'.ui_get_full_url('index.php?sec=advanced&sec2=advanced/users_setup').'&amp;tab=user_edit&amp;modified=1&amp;id='.$id.'&amp;pure='.$config['pure'].'">';
} else {
echo '<form name="user_mod" method="post" action="'.ui_get_full_url('index.php?sec=workspace&sec2=operation/users/user_edit').'&amp;modified=1&amp;id='.$id.'&amp;pure='.$config['pure'].'">';
}
echo '<div id="user_form"> echo '<div id="user_form">
<div class="user_edit_first_row"> <div class="user_edit_first_row">