Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] build_theme_select() bug
#1
Hello

the build_theme_select function has a little bug it doesn't close the </select>

To fix it, in the functions.php
this
if(!$tid)
	{
		$themeselect .= "</select>";
	}
should be replaced by
if($tid)
	{
		$themeselect .= "</select>";
	}
as $tid is assiged the value 1 previously during the function which is a new thing in 1.2.3.

Regards
#2
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.


Forum Jump:


Users browsing this thread: 1 Guest(s)