Skip to content

Commit

Permalink
Post release fix scheduled empty campaigns
Browse files Browse the repository at this point in the history
  • Loading branch information
dasgarner committed Apr 23, 2019
1 parent 1533f7a commit a5ae2b4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/Xmds/Soap.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,9 @@ protected function doRequiredFiles($serverKey, $hardwareKey, $httpDownloads)

$this->getLog()->debug(count($scheduleEvents) . ' events for eventId ' . $schedule->eventId);

$eventTypeId = $row['eventTypeId'];

if ($eventTypeId == Schedule::$LAYOUT_EVENT || $eventTypeId == Schedule::$OVERLAY_EVENT) {
$layouts[] = $this->getSanitizer()->int($row['layoutId']);
$layoutId = $this->getSanitizer()->int($row['layoutId']);
if ($layoutId != null && ($schedule->eventTypeId == Schedule::$LAYOUT_EVENT || $schedule->eventTypeId == Schedule::$OVERLAY_EVENT)) {
$layouts[] = $layoutId;
}
}

Expand Down

0 comments on commit a5ae2b4

Please sign in to comment.