init
This commit is contained in:
5
modules/EcmStocks/setMain.php
Executable file
5
modules/EcmStocks/setMain.php
Executable file
@@ -0,0 +1,5 @@
|
||||
<?
|
||||
$GLOBALS['db']->query("update ecmstocks set main='0'");
|
||||
$GLOBALS['db']->query("update ecmstocks set main='1' where id='".$_REQUEST['record']."'");
|
||||
header("Location: index.php?module=EcmStocks&action=index");
|
||||
?>
|
||||
Reference in New Issue
Block a user