Skip to content

Commit

Permalink
Fix missing recaptcha ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Eoghan O'Brien committed May 24, 2016
1 parent 85c96de commit 29fd5fb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/code/community/Studioforty9/Recaptcha/Block/Explicit.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,14 @@ public function getSize()
{
return Mage::helper('studioforty9_recaptcha')->getSize();
}

/**
* Get a unique ID for the recaptcha block.
*
* @return string
*/
public function getRecaptchaId()
{
return uniqid();
}
}

0 comments on commit 29fd5fb

Please sign in to comment.