From d9bfceaddf05dba5dec33523ea27277d773c5e4f Mon Sep 17 00:00:00 2001 From: Lucas Cimon Date: Sun, 12 Jan 2020 14:54:48 +0100 Subject: Avoiding warning 'PHP Notice: Undefined index: updated' --- tpl/default/includes.html | 2 +- tpl/vintage/includes.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tpl/default/includes.html b/tpl/default/includes.html index d3d3c86f..428b8ee2 100644 --- a/tpl/default/includes.html +++ b/tpl/default/includes.html @@ -27,7 +27,7 @@ {/if} {if="!$hide_timestamps || $is_logged_in"} - {if="$link.updated"} + {if="!empty($link.updated)"} {/if} {/if} diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html index 0cabc985..1c4ff79c 100644 --- a/tpl/vintage/includes.html +++ b/tpl/vintage/includes.html @@ -24,7 +24,7 @@ {/if} {if="!$hide_timestamps || $is_logged_in"} - {if="$link.updated"} + {if="!empty($link.updated)"} {/if} {/if} -- cgit v1.2.3