Fix calendar

This commit is contained in:
mac 2026-07-03 11:31:22 +03:00
parent b14570835a
commit f4cfdaf9eb

View File

@ -206,7 +206,7 @@ if ($_SESSION['id']) {
// Собираем все deal-события по deal_id
$dealEvents = array();
while ($event = mysql_fetch_assoc($rez)) {
if ($event['type'] == 'deal' && !empty($event['deal_id'])) {
if ($event['type'] == 'deal') {
$did = (int)$event['deal_id'];
if (!isset($dealEvents[$did])) {
$dealEvents[$did] = array();