Files
crm.e5.pl/modules/EcmPriceKopias/deleteProducts.php

7 lines
424 B
PHP
Raw Permalink Normal View History

2024-04-27 09:23:34 +02:00
<?php
$e=explode("|",$_REQUEST['keys']);
foreach($e as $ee){
$GLOBALS['db']->query("update ecmpricekopias_ecmproducts set date_modified='".date("Y-m-d H:i:s")."',modified_user_id='".$_SESSION['authenticated_user_id']."',deleted='1' where id='".$ee."' and ecmpricekopia_id='".$_REQUEST['return_id']."'");
}
header("Location: index.php?module=EcmPriceKopias&action=DetailView&record=".$_REQUEST['return_id']."&tab=items");
?>