Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 5a5e27c

Browse files
author
Charles Ma
committed
BUG: refs #401 Fixed test
1 parent 66265c8 commit 5a5e27c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/controllers/UploadController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ public function saveuploadedAction()
358358

359359
$parent = $this->_getParam("parent");
360360
$license = $this->_getParam("license");
361-
if(!empty($path) && file_exists($path) && $file_size > 0)
361+
if(!empty($path) && file_exists($path))
362362
{
363363
$itemId_itemRevisionNumber = explode('-', $parent);
364364
if(count($itemId_itemRevisionNumber) == 2) //means we upload a new revision

0 commit comments

Comments
 (0)