kopia lustrzana https://github.com/friendica/friendica
Merge pull request #4763 from MrPetovan/bug/4760-fix-event-typo
Fix event id typo in Model\Eventpull/4767/head
commit
7c9bd69e22
|
@ -287,7 +287,7 @@ class Event extends BaseObject
|
|||
'nofinish' => $event['nofinish'],
|
||||
];
|
||||
|
||||
dba::update('event', $updated_fields, ['id' => $event['cid'], 'uid' => $event['uid']]);
|
||||
dba::update('event', $updated_fields, ['id' => $event['id'], 'uid' => $event['uid']]);
|
||||
|
||||
$item = dba::selectFirst('item', ['id'], ['event-id' => $event['id'], 'uid' => $event['uid']]);
|
||||
if (DBM::is_result($item)) {
|
||||
|
|
Ładowanie…
Reference in New Issue