diff options
author | Yorhel <git@yorhel.nl> | 2011-02-03 17:22:18 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-02-03 17:22:18 +0100 |
commit | 09025338975b6bf63411e848419eee802da0c128 (patch) | |
tree | 0b34763040bbeb379964169572ddee6b4fa4b48e /lib/VNDB/Handler/Users.pm | |
parent | 7ef623807ff91258743db4d6555150fd38968eea (diff) |
TUWF: Replaced reqParam() with reqGet() or reqPost() where applicable
Cleaner this way.
Also found two occurences of manually HTML-escaping text for textareas,
which isn't necessary anymore.
Diffstat (limited to 'lib/VNDB/Handler/Users.pm')
-rw-r--r-- | lib/VNDB/Handler/Users.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm index d46d6c22..75ddb547 100644 --- a/lib/VNDB/Handler/Users.pm +++ b/lib/VNDB/Handler/Users.pm @@ -338,7 +338,7 @@ sub edit { # create the page $self->htmlHeader(title => mt('_usere_title'), noindex => 1); $self->htmlMainTabs('u', $u, 'edit'); - if($self->reqParam('d')) { + if($self->reqGet('d')) { div class => 'mainbox'; h1 mt '_usere_saved_title'; div class => 'notice'; @@ -555,7 +555,7 @@ sub notifies { # changing the notification settings my $saved; - if($self->reqMethod() eq 'POST' && $self->reqParam('set')) { + if($self->reqMethod() eq 'POST' && $self->reqPost('set')) { return if !$self->authCheckCode; my $frm = $self->formValidate( { post => 'notify_nodbedit', required => 0, default => 1, enum => [0,1] }, |