	public function Archive()
	{
		
		// Update "main" ticket
		$upd_stmt = Database::prepare('
			UPDATE `' . TABLE_PANEL_TICKETS . '` SET `archived` = "1" WHERE `id` = :tid');
		Database::pexecute($upd_stmt, array(
			'tid' => $this->tid
		));
		
		// Update "answers" to ticket
		$upd_stmt = Database::prepare('
			UPDATE `' . TABLE_PANEL_TICKETS . '` SET `archived` = "1" WHERE `answerto` = :tid');
		Database::pexecute($upd_stmt, array(
			'tid' => $this->tid
		));
		return true;
	}
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.