MyBB Community Forums

Full Version: [F] Version check
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In admin/index.php, line 216:
	$updated_cache = array(
		"last_check" => time()
	);
Line 237:
		$updated_cache = array(
			"latest_version" => $latest_version,
			"latest_version_code" => $latest_code
		);
Why do we overwrite the array? So if there's a new version the time of the last check is not updated.
Fixed.
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.
is there a file for this
Whats the point :\

In admin/index.php find:

Line 237:
$updated_cache = array(
	"latest_version" => $latest_version,
	"latest_version_code" => $latest_code
);

Replace with:

$updated_cache['latest_version'] = $latest_version;
$updated_cache['latest_version_code'] = $latest_code;