summaryrefslogtreecommitdiffstats
path: root/frontends/php/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/profile.php')
-rw-r--r--frontends/php/profile.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/profile.php b/frontends/php/profile.php
index 9e9e818c..3d041915 100644
--- a/frontends/php/profile.php
+++ b/frontends/php/profile.php
@@ -39,16 +39,16 @@
?>
<?php
- if(isset($_GET["register"]))
+ if(isset($_REQUEST["register"]))
{
- if($_GET["register"]=="update profile")
+ if($_REQUEST["register"]=="update profile")
{
- if($_GET["password1"]==$_GET["password2"])
+ if($_REQUEST["password1"]==$_REQUEST["password2"])
{
- $result=update_user_profile($_GET["userid"],$_GET["password1"],$_GET["url"],$_GET["autologout"],$_GET["lang"]);
+ $result=update_user_profile($_REQUEST["userid"],$_REQUEST["password1"],$_REQUEST["url"],$_REQUEST["autologout"],$_REQUEST["lang"]);
show_messages($result, S_USER_UPDATED, S_CANNOT_UPDATE_USER);
if($result)
- add_audit(AUDIT_ACTION_UPDATE,AUDIT_RESOURCE_USER,"User ID [".$_GET["userid"]."]");
+ add_audit(AUDIT_ACTION_UPDATE,AUDIT_RESOURCE_USER,"User ID [".$_REQUEST["userid"]."]");
}
else
{