aboutsummaryrefslogtreecommitdiff
path: root/templates/timeline.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/timeline.inc.php')
-rw-r--r--templates/timeline.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/timeline.inc.php b/templates/timeline.inc.php
index 9295a71..bfeb7de 100644
--- a/templates/timeline.inc.php
+++ b/templates/timeline.inc.php
@@ -27,7 +27,7 @@
<div class="wrap">
<?php require(ROOT.DS.'snippets'.DS.'nav.snippet.php'); ?>
<ul class="posts">
- <?php if(!empty($posts)): ?>
+ <?php if($config['logged_in'] && !empty($posts)): ?>
<?php foreach($posts as $post): ?>
<li data-post-id="<?= $post['id'] ?>">
<?php