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)) {
|
if(empty($this->user)) {
|
||||||
$this->element('p', array(), 'You are not logged in.');
|
$this->element('p', array(), 'You are not logged in.');
|
||||||
} else {
|
} else {
|
||||||
$this->elementStart('form', array('enctype' => 'mutlipart/form-data',
|
$this->elementStart('form', array('enctype' => 'multipart/form-data',
|
||||||
'method' => 'post',
|
'method' => 'post',
|
||||||
'action' => common_local_url('photoupload')));
|
'action' => common_local_url('photoupload')));
|
||||||
$this->element('input', array('name' => 'photofile',
|
$this->element('input', array('name' => 'photofile',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user