Closed (won't fix)
Project:
Image CAPTCHA Refresh
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2013 at 08:16 UTC
Updated:
4 Nov 2015 at 19:11 UTC
Jump to comment: Most recent
Comments
Comment #1
ddrozdik commentedPlease specify which version of drupal and captcha do you use.
Comment #2
maxilein commentedSorry for not mentioning them earlier.
Drupal 6.28
CAPTCHA 6.x-2.5
Image CAPTCHA 6.x-2.5
Comment #3
Delivron_dg commentedI've encountered the same problem. After debugging the module image_captcha_refresh.module, I found out that adding refresh-link depended on the presence of the element $form['captcha'], but blocks didn't have this element. On the other hand they had $form['wrapper']['captcha'] element that also turned out suitable for adding that after-build behavior . I don't know if it's a correct solution, but it works. Here it is:
Find image_captcha_refresh_form_alter function in the modue image_captcha_refresh.module, and replace this code:
with the following one:
Comment #4
ddrozdik commented