summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Preboot.php
diff options
context:
space:
mode:
authorSimon2011-04-07 14:45:58 +0200
committerSimon2011-04-07 14:45:58 +0200
commite0da08150df720b993e9d38e14d7cfb0ccc87150 (patch)
tree164c0079c14da86d21054d52ac95233c158ea721 /application/modules/user/forms/Preboot.php
parentserialnumber von bootiso an usb stick angepasst (diff)
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-e0da08150df720b993e9d38e14d7cfb0ccc87150.tar.gz
pbs2-e0da08150df720b993e9d38e14d7cfb0ccc87150.tar.xz
pbs2-e0da08150df720b993e9d38e14d7cfb0ccc87150.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/forms/Preboot.php')
-rw-r--r--application/modules/user/forms/Preboot.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/application/modules/user/forms/Preboot.php b/application/modules/user/forms/Preboot.php
index 8032a71..99c7563 100644
--- a/application/modules/user/forms/Preboot.php
+++ b/application/modules/user/forms/Preboot.php
@@ -18,9 +18,11 @@ class user_Form_Preboot extends Zend_Form
$this->setName($this->action);
$this->setMethod('post');
- if (Pbs_Acl::checkRight('prem'))
+ if (!Pbs_Acl::checkRight('pre'))
$meta = true;
-
+ else
+ $meta = null;
+
$this->addElement('text', 'title', array(
'filters' => array('StringTrim'),
'validators' => array(