print_runtime_info: fix syntax error

This commit is contained in:
Andrew Dolgov 2010-11-12 18:09:25 +03:00
parent 4169bb67e8
commit 5b463b229c
1 changed files with 1 additions and 4 deletions

View File

@ -3216,15 +3216,12 @@
if ($_SESSION["last_version_check"] + 86400 + rand(-1000, 1000) < time()) { if ($_SESSION["last_version_check"] + 86400 + rand(-1000, 1000) < time()) {
$new_version_details = @check_for_update($link); $new_version_details = @check_for_update($link);
print "<param key=\"new_version_available\" value=\"". $data['new_version_available'] = (int) $new_version_details != "";
sprintf("%d", $new_version_details != ""). "\"/>";
$_SESSION["last_version_check"] = time(); $_SESSION["last_version_check"] = time();
} }
} }
// print "<param key=\"new_version_available\" value=\"1\"/>";
return $data; return $data;
} }