diff --git a/build/libifm.php b/build/libifm.php index 909a3cc..f454208 100644 --- a/build/libifm.php +++ b/build/libifm.php @@ -3438,7 +3438,7 @@ function IFM( params ) { $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_upload_error'] ) ); } else - $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_upload_success'] ) ); + $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_upload_error'] ) ); } else $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_not_found'] ) ); } diff --git a/ifm.php b/ifm.php index 52fa512..b6e2102 100644 --- a/ifm.php +++ b/ifm.php @@ -3438,7 +3438,7 @@ function IFM( params ) { $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_upload_error'] ) ); } else - $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_upload_success'] ) ); + $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_upload_error'] ) ); } else $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_not_found'] ) ); } diff --git a/src/main.php b/src/main.php index 9da9a68..1898fe2 100644 --- a/src/main.php +++ b/src/main.php @@ -711,7 +711,7 @@ f00bar; $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_upload_error'] ) ); } else - $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_upload_success'] ) ); + $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_upload_error'] ) ); } else $this->jsonResponse( array( "status" => "ERROR", "message" => $this->l['file_not_found'] ) ); }