• Resolved AJ Clarke

    (@ajclarke)


    Hi,

    Lines 764-766 need a little fix to prevent errors.

    Current Code:

     if ($si_captcha_opt['login'] != 'true') {
            return true; // captcha setting is disabled for login
       }

    Proposed Changes:

       if ( empty( $si_captcha_opt['si_captcha_login'] ) || $si_captcha_opt['si_captcha_login'] != 'true') {
            return; // captcha setting is disabled for login
       }

    Thanks!

    • This topic was modified 8 years ago by AJ Clarke.
    • This topic was modified 8 years ago by AJ Clarke.
Viewing 2 replies - 1 through 2 (of 2 total)
  • mbrsolution

    (@mbrsolution)

    Thank you for reporting and providing a fix. The plugin developer will investigate further your suggestion.

    Kind regards

    Fixed in new version

    3.0.0.8
    (21 Mar 2017) – Fixed error caused by uninitialized value si_captcha_login on line 764.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Code Fix’ is closed to new replies.