From 6cd23be5bc8f936e1a76c6d01bbc79ef827fc6f6 Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Tue, 5 Apr 2011 12:39:09 +0200 Subject: HTTP-Referer entfernt bzw. Übeprüfung auf vorhanden sein von ['HTTP-Referer'] --- application/modules/dev/forms/RoleEdit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/modules/dev/forms/RoleEdit.php') diff --git a/application/modules/dev/forms/RoleEdit.php b/application/modules/dev/forms/RoleEdit.php index 1a9afc5..7eb0a0e 100644 --- a/application/modules/dev/forms/RoleEdit.php +++ b/application/modules/dev/forms/RoleEdit.php @@ -53,7 +53,7 @@ class dev_Form_RoleEdit extends Zend_Form 'required' => false, 'ignore' => true, 'label' => 'Cancel', - 'onclick' => 'location.href="' . $_SERVER['HTTP_REFERER'] . '"', + 'onclick' => 'location.href="javascript:history.back();"', )); } -- cgit v1.2.3-55-g7522