Изменения в функциях из за редактирования структуры базы
This commit is contained in:
@@ -216,7 +216,7 @@ if ($_REQUEST['compare'] && !$_REQUEST['common'] && !$_REQUEST['present']) {
|
||||
db::c()->query('INSERT INTO `delo`(`author`,`pers`,`text`,`type`,`date`) VALUES (0,?i,"?s",1,?i)', $to['id'], $deloTextReceiver, time());
|
||||
|
||||
$telegraphText = "Вам пришёл подарок \"" . $res['name'] . "\" от " . $from . "!";
|
||||
db::c()->query('INSERT INTO `telegraph` (owner, text) VALUES (?i,"?s")', $to['id'], $telegraphText)->fetch_assoc();
|
||||
db::c()->query('INSERT INTO `telegraph` (receiver, text) VALUES (?i,"?s")', $to['id'], $telegraphText)->fetch_assoc();
|
||||
|
||||
err('Подарок удачно доставлен к ' . $_POST['to_login']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user