forked from GNUsocial/gnu-social
Fixed a typo that rendered firefox (and probably others) unable to upload photos.
This commit is contained in:
parent
e36399974e
commit
39d0420ab6
@ -61,7 +61,7 @@ class PhotouploadAction extends Action
|
||||
if(empty($this->user)) {
|
||||
$this->element('p', array(), 'You are not logged in.');
|
||||
} else {
|
||||
$this->elementStart('form', array('enctype' => 'mutlipart/form-data',
|
||||
$this->elementStart('form', array('enctype' => 'multipart/form-data',
|
||||
'method' => 'post',
|
||||
'action' => common_local_url('photoupload')));
|
||||
$this->element('input', array('name' => 'photofile',
|
||||
|
Loading…
Reference in New Issue
Block a user