Fix folder rename behavior

This commit is contained in:
John Botella 2020-01-07 14:49:25 +01:00
parent 7350331865
commit 36ccb8b08e

View File

@ -168,12 +168,15 @@ if ($_POST) {
$bulkaction = $massaction;
$error = 0;
$prodstatic = new Product($db);
$db->begin();
foreach ($toselect as $prodid) {
// need create new of Product to prevent rename dir behavior
$prodstatic = new Product($db);
if ($prodstatic->fetch($prodid) < 0) {
continue;
}