Skip to content

Commit

Permalink
pkp#52 fixed issue with settings update
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Aug 9, 2024
1 parent fda3e40 commit c642ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PlagiarismSettingsForm.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function execute(...$functionArgs) {
// if proper api url and api key provided and if there is no forced credentails defined in
// `config.inc.php` at global or for this context
if (!empty(array_filter([$ithenticateApiUrl, $ithenticateApiKey])) &&
!$this->_plugin->hasForcedCredentials($this->_context->getId())) {
!$this->_plugin->hasForcedCredentials($this->_context)) {

// access updated or new access entered, need to update webhook registration
if ($this->_plugin->getSetting($this->_context->getId(), 'ithenticateApiUrl') !== $ithenticateApiUrl ||
Expand Down

0 comments on commit c642ad1

Please sign in to comment.