From 3139a6cf8ddb9fd50e84e33d35739c9fb4a1914c Mon Sep 17 00:00:00 2001 From: nodiscc Date: Tue, 31 Mar 2015 20:02:50 +0200 Subject: Fix php error in daily RSS Use of undefined constant htmlspecialchars - assumed 'htmlspecialchars' in /var/www/links/tmp/dailyrss.* Thanks @alexisju in https://github.com/shaarli/Shaarli/commit/bec18701801cc140d760c261dd115fda1507a0dd --- tpl/dailyrss.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/dailyrss.html') diff --git a/tpl/dailyrss.html b/tpl/dailyrss.html index 926704f4..a9b11e18 100644 --- a/tpl/dailyrss.html +++ b/tpl/dailyrss.html @@ -1,6 +1,6 @@ {loop="links"}

{$value.title|htmlspecialchars}

- {if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{function="strftime('%c', $value.timestamp|htmlspecialchars)"} - {/if}{if="$value.tags"}{$value.tags|htmlspecialchars}{/if}
+ {if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags|htmlspecialchars}{/if}
{$value.url|htmlspecialchars}

{if="$value.thumbnail"}{$value.thumbnail}{/if}
{if="$value.description"}{$value.formatedDescription}{/if} -- cgit v1.2.3