Skip to content

Commit ff2eeb4

Browse files
AI fix
1 parent 0de71dd commit ff2eeb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

html/user/buda.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ function variant_delete() {
462462
unlink($phys_path);
463463
unlink("$phys_path.md5");
464464
}
465-
system("rm -r $buda_root/$app/$variant", $ret);
465+
system(sprintf('rm -r %s', escapeshellarg("$buda_root/$app")), $ret);
466466
if ($ret) {
467467
error_page("delete failed");
468468
}

0 commit comments

Comments
 (0)