aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/index.php b/index.php
index 561f946e..5771dd88 100644
--- a/index.php
+++ b/index.php
@@ -957,7 +957,13 @@ function showDaily()
957 if ($i<count($days)-1) $nextday=$days[$i+1]; 957 if ($i<count($days)-1) $nextday=$days[$i+1];
958 } 958 }
959 959
960 $linksToDisplay=$LINKSDB->filterDay($day); 960 try {
961 $linksToDisplay = $LINKSDB->filterDay($day);
962 } catch (Exception $exc) {
963 error_log($exc);
964 $linksToDisplay = [];
965 }
966
961 // We pre-format some fields for proper output. 967 // We pre-format some fields for proper output.
962 foreach($linksToDisplay as $key=>$link) 968 foreach($linksToDisplay as $key=>$link)
963 { 969 {