aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/vintage/includes.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-01-12 15:22:02 +0100
committerGitHub <noreply@github.com>2020-01-12 15:22:02 +0100
commit7d0db8b567f0366fba6daaba856eeadec6a635a2 (patch)
tree8ddc13bcaa6eb3f4c08d78aeed5c5549a1c13b4a /tpl/vintage/includes.html
parent74c1d020793d9a7cae5f563776d6fc2f4155d627 (diff)
parentd9bfceaddf05dba5dec33523ea27277d773c5e4f (diff)
downloadShaarli-7d0db8b567f0366fba6daaba856eeadec6a635a2.tar.gz
Shaarli-7d0db8b567f0366fba6daaba856eeadec6a635a2.tar.zst
Shaarli-7d0db8b567f0366fba6daaba856eeadec6a635a2.zip
Avoiding warning 'PHP Notice: Undefined index: updated' (#1392)
Avoiding warning 'PHP Notice: Undefined index: updated'
Diffstat (limited to 'tpl/vintage/includes.html')
-rw-r--r--tpl/vintage/includes.html2
1 files changed, 1 insertions, 1 deletions
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 @@
24 {/if} 24 {/if}
25 {if="!$hide_timestamps || $is_logged_in"} 25 {if="!$hide_timestamps || $is_logged_in"}
26 <meta property="article:published_time" content="{$link.created->format(DateTime::ATOM)}" /> 26 <meta property="article:published_time" content="{$link.created->format(DateTime::ATOM)}" />
27 {if="$link.updated"} 27 {if="!empty($link.updated)"}
28 <meta property="article:modified_time" content="{$link.updated->format(DateTime::ATOM)}" /> 28 <meta property="article:modified_time" content="{$link.updated->format(DateTime::ATOM)}" />
29 {/if} 29 {/if}
30 {/if} 30 {/if}