Skip to content
Permalink
Browse files

Remove innecesary URL param

  • Loading branch information...
AngelFQC committed Jul 21, 2016
1 parent 4ff94fd commit 735dac1474066a61844f85e1ff885018b702c5ab
Showing with 1 addition and 12 deletions.
  1. +1 −12 main/auth/profile.php
@@ -77,12 +77,6 @@ function show_icon_edit(element_html) {
}
</script>';
$warning_msg = '';
if (!empty($_GET['fe'])) {
$warning_msg .= get_lang('UplUnableToSaveFileFilteredExtension');
$_GET['fe'] = null;
}
$jquery_ready_content = '';
if (api_get_setting('allow_message_tool') == 'true') {
$jquery_ready_content = <<<EOF
@@ -216,12 +210,7 @@ function initializeGeo(address, latLng) {
/*
* Initialize the form.
*/
$form = new FormValidator(
'profile',
'post',
api_get_self()."?".str_replace('&fe=1', '', Security::remove_XSS($_SERVER['QUERY_STRING'])),
null
);
$form = new FormValidator('profile');
if (api_is_western_name_order()) {
// FIRST NAME and LAST NAME

0 comments on commit 735dac1

Please sign in to comment.
You can’t perform that action at this time.