@@ -520,13 +520,13 @@ function createProductNode($doc, $submission, $publicationFormat) {
520
520
521
521
$ websiteNode ->appendChild ($ this ->_buildTextNode ($ doc , 'WebsiteRole ' , '29 ' )); // 29 -> Web page for full content
522
522
523
- $ websiteUrlId = $ publication ->getData ('submissionId ' );
523
+ $ submissionBestId = $ publication ->getData ('submissionId ' );
524
524
525
525
if ($ publication ->getData ('urlPath ' ) != '' ) {
526
- $ websiteUrlId = $ publication ->getData ('urlPath ' );
526
+ $ submissionBestId = $ publication ->getData ('urlPath ' );
527
527
}
528
528
529
- $ websiteNode ->appendChild ($ this ->_buildTextNode ($ doc , 'WebsiteLink ' , $ request ->url ($ context ->getPath (), 'catalog ' , 'book ' , $ websiteUrlId )));
529
+ $ websiteNode ->appendChild ($ this ->_buildTextNode ($ doc , 'WebsiteLink ' , $ request ->url ($ context ->getPath (), 'catalog ' , 'book ' , $ submissionBestId )));
530
530
531
531
/* --- Publishing Dates --- */
532
532
@@ -690,8 +690,7 @@ function createProductNode($doc, $submission, $publicationFormat) {
690
690
$ supplierNode ->appendChild ($ supplierWebsiteNode );
691
691
692
692
$ supplierWebsiteNode ->appendChild ($ this ->_buildTextNode ($ doc , 'WebsiteRole ' , '29 ' )); // 29 -> Web page for full content
693
- $ supplierWebsiteNode ->appendChild ($ this ->_buildTextNode ($ doc , 'WebsiteLink ' , $ request ->url ($ context ->getPath (), 'catalog ' , 'book ' , $ websiteUrlId )));
694
-
693
+ $ supplierWebsiteNode ->appendChild ($ this ->_buildTextNode ($ doc , 'WebsiteLink ' , $ request ->url ($ context ->getPath (), 'catalog ' , 'book ' , $ submissionBestId )));
695
694
unset($ supplierNode );
696
695
unset($ supplierWebsiteNode );
697
696
0 commit comments