diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-26 15:41:53 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-26 15:41:53 +0200 |
commit | 8dedd695ce966b5cb968e116d7418665e184467d (patch) | |
tree | e5057a78e53f8b173dd55e45596e74e16fc58d90 /theme/admin/html/post/form.php | |
parent | 871dab6a8071694884cc03e4612739ad1b34a7be (diff) | |
download | blog-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.php | 2 |
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> |