summaryrefslogtreecommitdiffstats
path: root/frontends/php/profile.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-24 05:20:19 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-10-24 05:20:19 +0000
commit9a1e779bc865fddde2adc39dde378f0a0439594a (patch)
tree472789ea587b232cb705de4a9f9783002a169566 /frontends/php/profile.php
parentb9e14335fe68cdd6251239883f141a0e0556ac6b (diff)
downloadzabbix-9a1e779bc865fddde2adc39dde378f0a0439594a.tar.gz
zabbix-9a1e779bc865fddde2adc39dde378f0a0439594a.tar.xz
zabbix-9a1e779bc865fddde2adc39dde378f0a0439594a.zip
- all $_GET and $_POST replaced by $_REQUEST. Thanks to James Wells. (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2215 97f52cf1-0a1b-0410-bd0e-c28be96e8082
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
{