Skip to content

Commit

Permalink
ensure old folder is deleted when entry is moved out of compo
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargaj committed Sep 7, 2022
1 parent e5c1364 commit 21ba967
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www_admin/compos_entry_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
$n = basename($v);
rename($oldDir . $n, $newDir . $n);
}
rmdir($oldDir);

$a = array();
$a["compoID"] = $_POST["targetCompoID"];
Expand Down

0 comments on commit 21ba967

Please sign in to comment.