Skip to content

Commit

Permalink
update for PHP 7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dszymczuk committed Sep 20, 2017
1 parent fd16eaf commit 157d129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsEventCalendar/dsEventCalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function getEventsFromCalendar($calendarID, $typeID = 0)
$settings = $db->GetAll("SELECT * FROM dsEventCalendarSettings");
foreach ($settings as $s) {
$s['opt'] = $s['opt'] . "_dsECS";
$$s['opt'] = $s['value'];
${$s['opt']} = $s['value'];
}

$events = $db->GetAll($q);
Expand Down

0 comments on commit 157d129

Please sign in to comment.