Changeset 1588
- Timestamp:
- 12/19/07 12:45:52 (8 months ago)
- Files:
-
- trunk/modules/forge/libraries/Forge.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/modules/forge/libraries/Forge.php
r1548 r1588 125 125 } 126 126 127 $form_type = 'open'; 128 // See if we need a multipart form 129 foreach ($this->inputs as $input) 130 { 131 if ($input instanceof Form_Upload) 132 { 133 $form_type = 'open_multipart'; 134 break; 135 } 136 } 127 137 // Set the form open and close 128 $form->open = form:: open($form->action, array('method' => 'post'), $hidden);138 $form->open = form::$form_type($form->action, array('method' => 'post'), $hidden); 129 139 $form->close = form::close(); 130 140
