From 69d7391f90a45f166ffff6379701d9c58b56c14d Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 5 Feb 2022 16:49:21 +0000 Subject: [PATCH] Added comment --- src/Model/Item.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Model/Item.php b/src/Model/Item.php index 217e77fd53..bf1f2585a1 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1433,6 +1433,7 @@ class Item if (!empty($post['event-id'])) { $event = DBA::selectFirst('event', ['edited', 'start', 'finish', 'summary', 'desc', 'location', 'nofinish', 'adjust'], ['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' => $post['event-id']]); Logger::info('Event updated', ['uid' => $uid, 'source-event' => $item['event-id'], 'target-event' => $post['event-id'], 'ret' => $ret]); } -- 2.39.5