diff options
author | nodiscc <nodiscc@gmail.com> | 2015-03-31 20:02:50 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2015-03-31 20:02:50 +0200 |
commit | 3139a6cf8ddb9fd50e84e33d35739c9fb4a1914c (patch) | |
tree | f3df277cd40c76206cfca8fc0fbf3af6aa65e0f3 | |
parent | 880cbf92ca0ee87a4b10a0621e44aa70d019aff7 (diff) | |
download | Shaarli-3139a6cf8ddb9fd50e84e33d35739c9fb4a1914c.tar.gz Shaarli-3139a6cf8ddb9fd50e84e33d35739c9fb4a1914c.tar.zst Shaarli-3139a6cf8ddb9fd50e84e33d35739c9fb4a1914c.zip |
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
-rw-r--r-- | tpl/dailyrss.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
1 | {loop="links"} | 1 | {loop="links"} |
2 | <h3><a href="{$value.url}">{$value.title|htmlspecialchars}</a></h3> | 2 | <h3><a href="{$value.url}">{$value.title|htmlspecialchars}</a></h3> |
3 | <small>{if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{function="strftime('%c', $value.timestamp|htmlspecialchars)"} - {/if}{if="$value.tags"}{$value.tags|htmlspecialchars}{/if}<br> | 3 | <small>{if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags|htmlspecialchars}{/if}<br> |
4 | {$value.url|htmlspecialchars}</small><br> | 4 | {$value.url|htmlspecialchars}</small><br> |
5 | {if="$value.thumbnail"}{$value.thumbnail}{/if}<br> | 5 | {if="$value.thumbnail"}{$value.thumbnail}{/if}<br> |
6 | {if="$value.description"}{$value.formatedDescription}{/if} | 6 | {if="$value.description"}{$value.formatedDescription}{/if} |