Commit eb0f6608 authored by Kevin Stover's avatar Kevin Stover

Fixing a bug with PHP versions <= 5.2. Closes #2619

parent e5972e1f
......@@ -33,7 +33,8 @@ final class NF_Admin_Menus_Settings extends NF_Abstracts_Submenu
public function ninja_forms_cf7_notice()
{
// If we don't have recaptcha keys, bail.
if ( Ninja_Forms()->get_settings()[ 'recaptcha_site_key' ] === '' ) {
$recaptcha_site_key = Ninja_Forms()->get_settings();
if ( $recaptcha_site_key[ 'recaptcha_site_key' ] === '' ) {
return false;
}
// If we can detect Contact Form 7...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment