diff --git a/plugins/dynamix/include/FileUpload.php b/plugins/dynamix/include/FileUpload.php index 7ff5f35df..757fb39f0 100644 --- a/plugins/dynamix/include/FileUpload.php +++ b/plugins/dynamix/include/FileUpload.php @@ -61,7 +61,7 @@ case 'rm': $path = "$docroot/languages/$file"; if ($result = is_dir($path)) { exec("rm -rf ".escapeshellarg($path)); - @unlink("$docroot/webGui/javascript/translate.".($file?:'en').".js"); + @unlink("$docroot/webGui/javascript/translate.$file.js"); @unlink("$boot/$file.lang.zip"); } $installed = [];