Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kingsunwukong

    (@kingsunwukong)

    On further inspection, this is an incomplete feature. Checking this box has no functional effect. The test for a valid submission:

    if ($_POST['new-bug-title'] != '' && $_POST['new-bug-version'] != '' && $_POST['new-bug-desc'] != '' && (($genoptions['requirename'] == false) || ($genoptions['requirename'] == true && $_POST['new-bug-reporter-name'] != '') && ($genoptions['requireemail'] == false || ($genoptions['requireemail'] == true && $_POST['new-bug-reporter-email'] != ''))))

    needs to be amended to allow for ‘requireversion’ (a option yet to be created) to be false.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    The bug is really that the label should say ‘Require Reporter E-mail’. Product should always be required. If there is only a single product defined, then it will be selected by default.

    Label updated in new version.

    Please consider donating to support this plugin’s development.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Checking 'Require Product Version' doesn't remove red asterix (*) from field’ is closed to new replies.