Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
linh0804 committed May 30, 2024
1 parent 70f3995 commit 75df6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_command.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

echo '<div class="title">' . $title . '</div>';

$folder = $_POST['folder'] ?? $dir;
$folder = $_POST['folder'] ?? (string) $dir;
$command = $_POST['command'] ?? '';

echo '<div class="list">';
Expand Down

0 comments on commit 75df6f7

Please sign in to comment.