Skip to content

Commit

Permalink
Merge pull request #20 from GiritInteractive/CLOUDINARY-62
Browse files Browse the repository at this point in the history
CLOUDINARY-62: Fixed issues on System Configuration validation
  • Loading branch information
Pini authored Dec 27, 2018
2 parents 9251030 + aeb49be commit 1124c49
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 1124c49

Please sign in to comment.