Add forgotten symbol

pull/42/head wp-1.8.4
Frode Petterson 2017-06-06 14:21:18 +02:00
parent 3192f0fe19
commit 278586ef58
1 changed files with 1 additions and 1 deletions

View File

@ -1265,7 +1265,7 @@ H5P.MediaCopyright = function (copyright, labels, order, extraFields) {
// Check for version info
var versionInfo;
if (copyrightLicense.versions) {
if (copyrightLicense.versions.default && (!version || copyrightLicense.versions[version])) {
if (copyrightLicense.versions.default && (!version || !copyrightLicense.versions[version])) {
version = copyrightLicense.versions.default;
}
if (version && copyrightLicense.versions[version]) {