From 30963f047c24cbd3fa9c8c4af736c509caafbfe3 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Thu, 7 Apr 2011 14:45:47 +0200 Subject: Meta Recht geƤndert --- application/modules/user/forms/Preboot.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'application/modules/user/forms/Preboot.php') 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( -- cgit v1.2.3-55-g7522