From 2fef4455c87c5edcfa4405ac8776e9c30cbbf5ca Mon Sep 17 00:00:00 2001 From: kanoi Date: Sun, 27 Jul 2014 15:48:41 +1000 Subject: [PATCH] ckdb - web display true last block if one is found --- pool/db.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pool/db.php b/pool/db.php index 1902cc7b..3a78e61a 100644 --- a/pool/db.php +++ b/pool/db.php @@ -85,8 +85,11 @@ function homeInfo($user) else { $ans = repDecode($rep); - $ans['lastblock'] = 1401237522; - $ans['lastblock'] = 1403819191; + if ($ans['lastblock'] == '?') + { +// $ans['lastblock'] = 1401237522; + $ans['lastblock'] = 1403819191; + } } return $ans;