Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9766

phpbb_default_captcha::delete_code() takes no argument but uses $confirm_id

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.7-PL1
    • 3.1.0-a1
    • None
    • None

    Description

      phpbb_default_captcha::delete_code() takes no argument but uses $confirm_id

      	function delete_code()
      	{
      		global $db, $user;
       
      		$sql = 'DELETE FROM ' . CONFIRM_TABLE . "
      			WHERE confirm_id = '" . $db->sql_escape($confirm_id) . "'
      				AND session_id = '" . $db->sql_escape($user->session_id) . "'
      				AND confirm_type = " . $this->type;
      		$db->sql_query($sql);
      	}

      Attachments

        Activity

          People

            bantu Andreas Fischer [X] (Inactive)
            bantu Andreas Fischer [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: