Merge branch 'ent-4121-meta-user-edition-bug' into 'develop'

Fixed bug in meta user_edir form url

See merge request artica/pandorafms!2472
This commit is contained in:
Alejandro Fraguas 2019-06-05 12:00:31 +02:00
commit 7883fc5f96
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">
<div class="user_edit_first_row">