summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms
diff options
context:
space:
mode:
authormichael pereira2011-04-11 14:29:29 +0200
committermichael pereira2011-04-11 14:29:29 +0200
commit4d63a9525b3601dbd2e24328c1ef250ad605765d (patch)
tree02179f65307191d7ae3997c38a5276ced038b134 /application/modules/user/forms
parentkcl fix im ressource controller (diff)
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-4d63a9525b3601dbd2e24328c1ef250ad605765d.tar.gz
pbs2-4d63a9525b3601dbd2e24328c1ef250ad605765d.tar.xz
pbs2-4d63a9525b3601dbd2e24328c1ef250ad605765d.zip
Merge branch 'master' of 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;