aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/post/form.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-26 15:41:53 +0200
committerThomas Lange <code@nerdmind.de>2021-06-26 15:41:53 +0200
commit8dedd695ce966b5cb968e116d7418665e184467d (patch)
treee5057a78e53f8b173dd55e45596e74e16fc58d90 /theme/admin/html/post/form.php
parent871dab6a8071694884cc03e4612739ad1b34a7be (diff)
downloadblog-8dedd695ce966b5cb968e116d7418665e184467d.tar.gz
blog-8dedd695ce966b5cb968e116d7418665e184467d.tar.xz
blog-8dedd695ce966b5cb968e116d7418665e184467d.zip
Use shorthand ternary operator in admin forms
Diffstat (limited to 'theme/admin/html/post/form.php')
-rw-r--r--theme/admin/html/post/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/admin/html/post/form.php b/theme/admin/html/post/form.php
index bbbea10..346d6f4 100644
--- a/theme/admin/html/post/form.php
+++ b/theme/admin/html/post/form.php
@@ -49,7 +49,7 @@
<i class="fa fa-pencil"></i><?=$Language->text('label_update')?></label>
<div class="form-grid-item">
- <input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ? $FORM['DATA']['TIME_UPDATE'] : 'CURRENT_TIMESTAMP')?>" value="" />
+ <input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ?: 'CURRENT_TIMESTAMP')?>" value="" />
</div>
</div>