MyBB Community Forums

Full Version: [F] Small error in showthread.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I found a small mistake in the source of showthread.php.
It's in line 286-289:
		$options = array(
			"limit" => 1
		);
		$query = $db->simple_select("polls", "*", "pid='".$thread['poll']."'");
There is set an options array but not used in the following query.

Greez Garlant
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.