diff options
| author | michael pereira | 2011-04-07 14:45:47 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-07 14:45:47 +0200 |
| commit | 30963f047c24cbd3fa9c8c4af736c509caafbfe3 (patch) | |
| tree | c33202190e20221b26f0b1f608117ea9118f9da1 /application/modules/user/forms/Preboot.php | |
| parent | Bootos und Configs in Bootmenuentry categorisiert (diff) | |
| download | pbs2-30963f047c24cbd3fa9c8c4af736c509caafbfe3.tar.gz pbs2-30963f047c24cbd3fa9c8c4af736c509caafbfe3.tar.xz pbs2-30963f047c24cbd3fa9c8c4af736c509caafbfe3.zip | |
Meta Recht geändert
Diffstat (limited to 'application/modules/user/forms/Preboot.php')
| -rw-r--r-- | application/modules/user/forms/Preboot.php | 6 |
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( |
