HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


main_contact_simple block not working if feedback block CAPTCHA disabled (#catalogues_505) - Comments

Login / Search

 [ Join | More ]
 
Title main_contact_simple block not working if feedback block CAPTCHA disabled
Description If you turn off the setting for the feedback block to expect CAPTCHA inputs for guests, the main_contact_simple block will fail. This is because it gets the option backwards, and checks for CAPTCHA codes against an image that was not presented to the user.
Affects Users of the main_contact_simple block, who allows Guests access to it, and have the CAPTCHA on feedback option disabled
Fix In sources/blocks/main_contact_simple.php change:

Code

         if (get_option('captcha_on_feedback')=='0')
to:

Code

         if (get_option('captcha_on_feedback')=='1')

Back to the top

Comments / View



1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: