Remove reference to remove field in event table
- Address https://anonsys.net/display/bf69967c-1663-f368-5a52-cdd110992529
This commit is contained in:
parent
711135a85b
commit
0dbee1c4d2
|
@ -1715,7 +1715,7 @@ class Item
|
|||
if (!empty($item['event-id'])) {
|
||||
$event_post = Post::selectFirst(['event-id'], ['uri-id' => $item['uri-id'], 'uid' => $uid]);
|
||||
if (!empty($event_post['event-id'])) {
|
||||
$event = DBA::selectFirst('event', ['edited', 'start', 'finish', 'summary', 'desc', 'location', 'nofinish', 'adjust'], ['id' => $item['event-id']]);
|
||||
$event = DBA::selectFirst('event', ['edited', 'start', 'finish', 'summary', 'desc', 'location', 'nofinish'], ['id' => $item['event-id']]);
|
||||
if (!empty($event)) {
|
||||
// We aren't using "Event::store" here, since we don't want to trigger any further action
|
||||
$ret = DBA::update('event', $event, ['id' => $event_post['event-id']]);
|
||||
|
|
Loading…
Reference in a new issue