From c909310731788c41b9ae3724ba1f93f57abc975f Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 12 Oct 2016 10:46:54 +0200 Subject: [PATCH] Bugfix: error if no plugin is enabled for linklist --- tpl/default/linklist.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 0a46c876..e6b04188 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html @@ -115,14 +115,17 @@ {function="strftime('%d %B %Y %H:%M', $value.timestamp)"} · {/if} - {'permalink'|t} · + {'permalink'|t} - {$link_plugin_counter=count($value.link_plugin)} - {loop="$value.link_plugin"} - {$value} - {if="$link_plugin_counter - 1 != $counter"}·{/if} - {/loop} + {if="isset($value.link_plugin)"} + · + {$link_plugin_counter=count($value.link_plugin)} + {loop="$value.link_plugin"} + {$value} + {if="$link_plugin_counter - 1 != $counter"}·{/if} + {/loop} + {/if}