cc-4301: Fixed bug where owner_id would be null whenever show is recorded.
This commit is contained in:
parent
583d3837be
commit
7f66bdbb66
3 changed files with 19 additions and 4 deletions
|
@ -39,7 +39,8 @@ class PluploadController extends Zend_Controller_Action
|
|||
$upload_dir = ini_get("upload_tmp_dir") . DIRECTORY_SEPARATOR . "plupload";
|
||||
$filename = $this->_getParam('name');
|
||||
$tempname = $this->_getParam('tempname');
|
||||
$result = Application_Model_StoredFile::copyFileToStor($upload_dir, $filename, $tempname);
|
||||
$result = Application_Model_StoredFile::copyFileToStor($upload_dir,
|
||||
$filename, $tempname);
|
||||
if (!is_null($result))
|
||||
die('{"jsonrpc" : "2.0", "error" : '.json_encode($result).'}');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue