Fix folder rename behavior
This commit is contained in:
parent
7350331865
commit
36ccb8b08e
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user