bozana/ojs — comment on commit 438c598d954fd97af25c3db1fb86effba1e67b58
File: classes/submission/form/ArticleGalleyForm.inc.php line 133
By asmecher:

It looks like you're using:
if ($this->getData('remoteUrl')) ...
...but also...
if ($createRemote) ...
...to check whether a remote URL is being used. If possible, I'd suggest just relying on $this->getData.