From: Andrew Dolgov Date: Fri, 12 Nov 2010 15:09:25 +0000 (+0300) Subject: print_runtime_info: fix syntax error X-Git-Tag: 1.5.0~258 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5b463b229c62142e8935bd2f7b0e2bb8b403b8e3;p=tt-rss.git print_runtime_info: fix syntax error --- diff --git a/functions.php b/functions.php index b4af52a0..f3e6a62e 100644 --- a/functions.php +++ b/functions.php @@ -3216,15 +3216,12 @@ if ($_SESSION["last_version_check"] + 86400 + rand(-1000, 1000) < time()) { $new_version_details = @check_for_update($link); - print ""; + $data['new_version_available'] = (int) $new_version_details != ""; $_SESSION["last_version_check"] = time(); } } -// print ""; - return $data; }