diff --git a/classes/view/generic/upload.php b/classes/view/generic/upload.php index f1afea7..57ffd22 100644 --- a/classes/view/generic/upload.php +++ b/classes/view/generic/upload.php @@ -9,6 +9,11 @@ */ class View_Generic_Upload extends View_Article { + /** + * @var string URL for action target + */ + public $action; + /** * @var string URL for cancel action */ @@ -34,7 +39,7 @@ public function content() { $cancel_attributes = null; } - echo Form::open(null, array('enctype' => 'multipart/form-data')); + echo Form::open($this->action, array('enctype' => 'multipart/form-data')); ?>