diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-26 02:02:10 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-26 02:02:10 +0200 |
commit | 08011d0724d131de9a9b50693eb19b84ceedc038 (patch) | |
tree | e90b6b43e9ff71d7699cb4e773fb121c02c3a84d /theme/admin/html/post | |
parent | d581ae0cfc6c4c3210cbdd9680739a74211cde67 (diff) | |
download | blog-08011d0724d131de9a9b50693eb19b84ceedc038.tar.gz blog-08011d0724d131de9a9b50693eb19b84ceedc038.tar.xz blog-08011d0724d131de9a9b50693eb19b84ceedc038.zip |
Fix bug in user select form field
Diffstat (limited to 'theme/admin/html/post')
-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 08f82dd..bbbea10 100644 --- a/theme/admin/html/post/form.php +++ b/theme/admin/html/post/form.php @@ -33,7 +33,7 @@ <div class="form-grid-item"> <select id="form_user" name="user"> <?php foreach($FORM['USER_LIST'] as $user): ?> - <option value="<?=$user['ID']?>"<?=($FORM['DATA']['USER'] === $user['ID']) ? ' selected' : '' ?>><?=escapeHTML($user['FULLNAME'])?> [<?=$user['USERNAME']?>]</option> + <option value="<?=$user['ID']?>"<?=($FORM['DATA']['USER'] == $user['ID']) ? ' selected' : '' ?>><?=escapeHTML($user['FULLNAME'])?> [<?=$user['USERNAME']?>]</option> <?php endforeach; ?> </select> </div> |