diff options
| author | michael pereira | 2011-04-25 13:44:04 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-25 13:44:04 +0200 |
| commit | 23f4df1970301bafda9c18837474b5d28359ab05 (patch) | |
| tree | 2f57d7d1a64bb379066d37661ec692ce1fd6beb9 /application/modules/user/forms/Preboot.php | |
| parent | config fix (diff) | |
| download | pbs2-23f4df1970301bafda9c18837474b5d28359ab05.tar.gz pbs2-23f4df1970301bafda9c18837474b5d28359ab05.tar.xz pbs2-23f4df1970301bafda9c18837474b5d28359ab05.zip | |
upload data fix
Diffstat (limited to 'application/modules/user/forms/Preboot.php')
| -rw-r--r-- | application/modules/user/forms/Preboot.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/modules/user/forms/Preboot.php b/application/modules/user/forms/Preboot.php index 54dc216..f1a609f 100644 --- a/application/modules/user/forms/Preboot.php +++ b/application/modules/user/forms/Preboot.php @@ -27,7 +27,8 @@ class user_Form_Preboot extends Zend_Form { $this->setName($this->action); $this->setMethod('post'); - + $this->setEnctype("multipart/form-data"); + if (!Pbs_Acl::checkRight('pre') && $this->action == 'editpreboot') $meta = true; else |
