Plugin Directory

Changeset 1088069


Ignore:
Timestamp:
02/12/2015 12:25:20 PM (11 years ago)
Author:
znaeff
Message:

Fixed warning when is null.

Location:
cleantalk-spam-protect/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cleantalk-spam-protect/trunk/cleantalk-public.php

    r1087038 r1088069  
    1111
    1212    ct_init_session();
    13    
     13
    1414    if ($_SERVER['REQUEST_METHOD'] == 'POST') {
    15         if (!array_key_exists($ct_formtime_label, $_SESSION) && session_id() != '') {
     15        if (is_array($_SESSION) && !array_key_exists($ct_formtime_label, $_SESSION) && session_id() != '') {
    1616            $ct_direct_post = 1;
    1717        }
  • cleantalk-spam-protect/trunk/cleantalk.php

    r1087038 r1088069  
    44  Plugin URI: http://cleantalk.org
    55  Description: Max power, all-in-one, captcha less, premium anti-spam plugin. No comment spam, no registration spam, no contact spam, protects any WordPress forms.
    6   Version: 4.17
     6  Version: 4.18
    77  Author: СleanTalk <[email protected]>
    88  Author URI: http://cleantalk.org
Note: See TracChangeset for help on using the changeset viewer.