Skip to content

Commit

Permalink
Merge pull request #40 from cloudinary/v2.9.3
Browse files Browse the repository at this point in the history
V2.9.3
  • Loading branch information
Pini authored Dec 27, 2018
2 parents 2deae18 + 1124c49 commit 3188ff0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function httpRequest($url)
*/
public function hasAccountConfigured()
{
return Mage::registry('cloudinaryEnvironmentVariableIsValid');
return (Mage::registry('cloudinaryEnvironmentVariableIsValid') || (is_null(Mage::registry('cloudinaryEnvironmentVariableIsValid')) && (string)$this->configuration->getCloud() !== ''))? true : false;
}

/**
Expand Down

0 comments on commit 3188ff0

Please sign in to comment.