summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/LinkRight.php
diff options
context:
space:
mode:
authorBjörn Geiger2011-04-05 12:39:09 +0200
committerBjörn Geiger2011-04-05 12:39:09 +0200
commit6cd23be5bc8f936e1a76c6d01bbc79ef827fc6f6 (patch)
tree41f1c07776dd4d38acfc0965611f725863d42de4 /application/modules/user/forms/LinkRight.php
parentRechte korrigiert, LeaveGroup Recht eingeführt (diff)
downloadpbs2-6cd23be5bc8f936e1a76c6d01bbc79ef827fc6f6.tar.gz
pbs2-6cd23be5bc8f936e1a76c6d01bbc79ef827fc6f6.tar.xz
pbs2-6cd23be5bc8f936e1a76c6d01bbc79ef827fc6f6.zip
HTTP-Referer entfernt bzw. Übeprüfung auf vorhanden sein von ['HTTP-Referer']
Diffstat (limited to 'application/modules/user/forms/LinkRight.php')
-rw-r--r--application/modules/user/forms/LinkRight.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/user/forms/LinkRight.php b/application/modules/user/forms/LinkRight.php
index 8fe2f46..54aacd6 100644
--- a/application/modules/user/forms/LinkRight.php
+++ b/application/modules/user/forms/LinkRight.php
@@ -32,7 +32,7 @@ class user_Form_LinkRight extends Zend_Form
'required' => false,
'ignore' => true,
'label' => 'Cancel',
- 'onclick' => 'location.href="' . $_SERVER['HTTP_REFERER'] . '"',
+ 'onclick' => 'location.href="javascript:history.back();"',
));
}