Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Can now upload file larger than 2G with Jumploader.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasCresson committed Aug 27, 2013
1 parent b567c18 commit 2bc285b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public function postProcess($action, $httpVars, $postProcessData){
}
}

if( (!$all_in_place || $partitions_length != intval($fileLength))){
if( (!$all_in_place || $partitions_length != floatval($fileLength))){
echo "Error: Upload validation error!";
/* we delete all the uploaded partitions */
if($httpVars["partitionCount"] > 1){
Expand Down

0 comments on commit 2bc285b

Please sign in to comment.