We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a0d484 commit 9a1ff2fCopy full SHA for 9a1ff2f
1 file changed
phpmyfaq/assets/templates/admin/configuration/upgrade.twig
@@ -153,7 +153,11 @@
153
</div>
154
<div>
155
{{ 'msgLastCheckDate' | translate }}
156
- {% set lastCheck = dateLastChecked == 'Invalid Date' ? 'n/a' : dateLastChecked | date('Y-m-d H:i:s') %}
+ {% if dateLastChecked == 'Invalid Date' %}
157
+ {% set lastCheck = 'n/a' %}
158
+ {% else %}
159
+ {% set lastCheck = dateLastChecked | date('Y-m-d H:i:s') %}
160
+ {% endif %}
161
<output id="dateLastChecked">{{ lastCheck }}</output>
162
163
0 commit comments