diff --git a/js/page/publish.js b/js/page/publish.js index 4ca9d81b0..664cf72da 100644 --- a/js/page/publish.js +++ b/js/page/publish.js @@ -287,7 +287,7 @@ var PublishPage = React.createClass({ } else if (this.state.otherLicenseChosen) { return this.state.otherLicenseUrl; } else { - return this.refs.meta_license.getSelectedElement().getAttribute('data-url'); + return this.refs.meta_license.getSelectedElement().getAttribute('data-url') || '' ; } }, componentDidMount: function() {