Skip to content
Snippets Groups Projects
Commit 4b220ed7 authored by Frode Petterson's avatar Frode Petterson
Browse files

JI-2085 Fix reset synced status on content save

parent bfbdb85b
No related branches found
No related tags found
No related merge requests found
...@@ -1061,6 +1061,7 @@ class framework implements \H5PFrameworkInterface { ...@@ -1061,6 +1061,7 @@ class framework implements \H5PFrameworkInterface {
$id = $DB->insert_record('hvp', $data); $id = $DB->insert_record('hvp', $data);
} else { } else {
$data['id'] = $content['id']; $data['id'] = $content['id'];
$data['synced'] = \H5PContentHubSyncStatus::NOT_SYNCED;
$DB->update_record('hvp', $data); $DB->update_record('hvp', $data);
$eventtype = 'update'; $eventtype = 'update';
$id = $data['id']; $id = $data['id'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment