Files
crm.e5.pl/modules/EcmReminders/CloseReminder.php
2024-04-27 09:23:34 +02:00

9 lines
427 B
PHP

<?
require_once("../../config.php");
$sql=mysql_connect($sugar_config['dbconfig']['db_host_name'],$sugar_config['dbconfig']['db_user_name'],$sugar_config['dbconfig']['db_password']);
mysql_select_db($sugar_config['dbconfig']['db_name']);
$GLOBALS['db']->query("update ".$_REQUEST['type']." set status='".$_REQUEST['status']."' where id='".$_REQUEST['record']."'");
header("Location: ReminderWindow.php");
mysql_close($sql);
?>