From 1533d7897897d868fe0efda2b2b846219ec6a7e2 Mon Sep 17 00:00:00 2001 From: Ario Date: Tue, 17 Sep 2019 12:43:59 +0200 Subject: [PATCH] log --- include/block.inc.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/block.inc.php b/include/block.inc.php index 3d8b769..7e080fd 100755 --- a/include/block.inc.php +++ b/include/block.inc.php @@ -313,13 +313,14 @@ class Block $res = $db->run( "SHOW TABLES LIKE 'networkstats'" ); + if ($res) $continue = true; } catch (Exception $e) { - $res = false; + $continue = false; } - _log($res,3); + _log($continue,3); - if($res !== FALSE) { + if($continue) { $hostname = 'https://www.ariochain.info'; // hardcoded _log("Calculate supply",3);