minor fixes for previous (2)

This commit is contained in:
Andrew Dolgov 2015-02-03 14:43:11 +03:00
parent 119ba03bd4
commit 480b2de3b1

View file

@ -242,7 +242,7 @@
$data['reload_on_ts_change'] = !defined('_NO_RELOAD_ON_TS_CHANGE');
if (true || $_SESSION["last_version_check"] + 86400 + rand(-1000, 1000) < time()) {
if ($_SESSION["last_version_check"] + 86400 + rand(-1000, 1000) < time()) {
$update_result = @check_for_update();
$data["update_result"] = $update_result;