Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9473

COPPA not set correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 3.0.x
    • phpBB 2.0 convertor
    • None
    • PHP Environment:
      Database:

      If COPPA is not used in phpBB2, it is set in phpBB3 and vice-versa.

      In phpBB2, if an address is entered in "COPPA Mailing Address," it is assumed that COPPA is to be used.

      The phpBB2 convertor has

      'coppa_enable'			=> 'is_empty(coppa_mail)',


      If no address is entered, is_empty returns TRUE, which sets COPPA in phpBB3 to be used.
      If an address is entered, is_empty returns FALSE, which sets COPPA in phpBB3 to NOT be used.

      What is needed is a function such as not_empty.

      function phpbb_not_empty($var)
      {
      	return not(is_empty($var));
      }

            Acyd Burn Meik Sievertsen [X] (Inactive)
            D¡cky Richard Foote [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: