Fix calendar
This commit is contained in:
parent
b14570835a
commit
f4cfdaf9eb
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user