summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms
diff options
context:
space:
mode:
authorBjörn Geiger2011-04-11 14:38:16 +0200
committerBjörn Geiger2011-04-11 14:38:16 +0200
commit1f95b2190d1be70f358f6921cd8d2e80bace3ec6 (patch)
tree9d46d3525b04a7b433b6c585205f9e4e0615393f /application/modules/user/forms
parentBessere Fehlerbeschreibung bei Registrierung (diff)
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-1f95b2190d1be70f358f6921cd8d2e80bace3ec6.tar.gz
pbs2-1f95b2190d1be70f358f6921cd8d2e80bace3ec6.tar.xz
pbs2-1f95b2190d1be70f358f6921cd8d2e80bace3ec6.zip
Merge branch 'master' of ssh://git.openslx.org/lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/forms')
-rw-r--r--application/modules/user/forms/Preboot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/user/forms/Preboot.php b/application/modules/user/forms/Preboot.php
index 99c7563..9d2f3aa 100644
--- a/application/modules/user/forms/Preboot.php
+++ b/application/modules/user/forms/Preboot.php
@@ -18,7 +18,7 @@ class user_Form_Preboot extends Zend_Form
$this->setName($this->action);
$this->setMethod('post');
- if (!Pbs_Acl::checkRight('pre'))
+ if ((!Pbs_Acl::checkRight('pre') && $this->action == 'editpreboot'))
$meta = true;
else
$meta = null;