Plugin Directory

Changeset 2208261


Ignore:
Timestamp:
12/09/2019 03:47:36 AM (6 years ago)
Author:
wppluginstech
Message:

corrected error in sanitizing checkbox field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multisite-faqs/trunk/admin/class-multisite-faqs-admin.php

    r2204990 r2208261  
    234234        $global_faq = sanitize_key($_POST['global_faq']);
    235235        // check for valid values
    236         if ($global_faq != 'on' || $global_faq != null) {
     236        if ($global_faq != 'on' && $global_faq != null) {
    237237            $global_faq = null;
    238238        }
Note: See TracChangeset for help on using the changeset viewer.