diff --git a/include/block.inc.php b/include/block.inc.php index 129db80..3d8b769 100755 --- a/include/block.inc.php +++ b/include/block.inc.php @@ -309,10 +309,14 @@ class Block * * * */ - - $res = $db->run( - "SHOW TABLES LIKE 'networkstats'" - ); + try { + $res = $db->run( + "SHOW TABLES LIKE 'networkstats'" + ); + + } catch (Exception $e) { + $res = false; + } _log($res,3); if($res !== FALSE) {