Skip to content

Commit

Permalink
#10019 Fix publication update when modifying contributor
Browse files Browse the repository at this point in the history
  • Loading branch information
salmanm2003 committed Jun 19, 2024
1 parent f535833 commit bd72bfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controllers/grid/users/author/form/PKPAuthorForm.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,10 @@ function execute(...$functionParams) {
throw new Exception('Invalid primary contact ID. This author can not be a primary contact.');
}
$publication = Services::get('publication')->edit($publication, $params, Application::get()->getRequest());
} else {
// Log an event when publication data is updated
$publication = Services::get('publication')->edit($publication, [], Application::get()->getRequest());
}

return $authorId;
}
}
Expand Down

0 comments on commit bd72bfb

Please sign in to comment.