From 5b463b229c62142e8935bd2f7b0e2bb8b403b8e3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Nov 2010 18:09:25 +0300 Subject: [PATCH] print_runtime_info: fix syntax error --- functions.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; } -- 2.39.5