We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 925ebc9 + 5fde0e1 commit af723baCopy full SHA for af723ba
CrossRefExportPlugin.inc.php
@@ -13,6 +13,8 @@
13
* @brief CrossRef/MEDLINE XML metadata export plugin
14
*/
15
16
+use APP\facades\Repo;
17
+
18
import('classes.plugins.DOIPubIdExportPlugin');
19
20
// The status of the Crossref DOI.
@@ -115,8 +117,7 @@ function getStatusMessage($request) {
115
117
// if the failure occured on request and the message was saved
116
118
// return that message
119
$articleId = $request->getUserVar('articleId');
- $submissionDao = DAORegistry::getDAO('SubmissionDAO'); /* @var $submissionDao SubmissionDAO */
- $article = $submissionDao->getByid($articleId);
120
+ $article = Repo::submission()->get((int) $articleId);
121
$failedMsg = $article->getData($this->getFailedMsgSettingName());
122
if (!empty($failedMsg)) {
123
return $failedMsg;
0 commit comments