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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-a1
    • 3.0.7-PL1
    • None
    • None

      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);
      	}

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

              Created:
              Updated:
              Resolved: