aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/page/form.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-26 02:02:10 +0200
committerThomas Lange <code@nerdmind.de>2021-06-26 02:02:10 +0200
commit08011d0724d131de9a9b50693eb19b84ceedc038 (patch)
treee90b6b43e9ff71d7699cb4e773fb121c02c3a84d /theme/admin/html/page/form.php
parentd581ae0cfc6c4c3210cbdd9680739a74211cde67 (diff)
downloadblog-08011d0724d131de9a9b50693eb19b84ceedc038.tar.gz
blog-08011d0724d131de9a9b50693eb19b84ceedc038.tar.xz
blog-08011d0724d131de9a9b50693eb19b84ceedc038.zip
Fix bug in user select form field
Diffstat (limited to 'theme/admin/html/page/form.php')
-rw-r--r--theme/admin/html/page/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/admin/html/page/form.php b/theme/admin/html/page/form.php
index e818e4b..be10877 100644
--- a/theme/admin/html/page/form.php
+++ b/theme/admin/html/page/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>