|
@@ -427,7 +427,7 @@ function ModifyProfile($post_errors = array())
|
|
|
}
|
|
|
|
|
|
|
|
|
- if (!empty($area['validate']))
|
|
|
+ if (!empty($area['validate']) || (isset($_REQUEST['save']) && !$context['user']['is_owner']))
|
|
|
$security_checks['validate'] = true;
|
|
|
|
|
|
|
|
@@ -512,10 +512,6 @@ function ModifyProfile($post_errors = array())
|
|
|
|
|
|
if ($context['completed_save'])
|
|
|
{
|
|
|
-
|
|
|
- if (!$context['user']['is_owner'])
|
|
|
- validateSession();
|
|
|
-
|
|
|
|
|
|
$_POST = htmltrim__recursive($_POST);
|
|
|
$_POST = htmlspecialchars__recursive($_POST);
|