File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ use \CarlBennett\MVC\Libraries\Common; ?>
11
11
<div class="form-group">
12
12
<label class="font-weight-bold" for="direction">Direction:</label>
13
13
<select class="bg-dark border border-primary custom-select text-light" name="direction" id="direction" tabindex="1">
14
- <option value="<?= Packet::DIRECTION_CLIENT_SERVER ?> "<?= ($ form_fields ['direction ' ] ?? null === Packet::DIRECTION_CLIENT_SERVER ? ' selected ' : '' )?> >Client to Server</option>
15
- <option value="<?= Packet::DIRECTION_SERVER_CLIENT ?> "<?= ($ form_fields ['direction ' ] ?? null === Packet::DIRECTION_SERVER_CLIENT ? ' selected ' : '' )?> >Server to Client</option>
16
- <option value="<?= Packet::DIRECTION_PEER_TO_PEER ?> "<?= ($ form_fields ['direction ' ] ?? null === Packet::DIRECTION_PEER_TO_PEER ? ' selected ' : '' )?> >Peer to Peer</option>
14
+ <option value="<?= Packet::DIRECTION_CLIENT_SERVER ?> "<?= (( $ form_fields ['direction ' ] ?? null ) === Packet::DIRECTION_CLIENT_SERVER ? ' selected ' : '' )?> >Client to Server</option>
15
+ <option value="<?= Packet::DIRECTION_SERVER_CLIENT ?> "<?= (( $ form_fields ['direction ' ] ?? null ) === Packet::DIRECTION_SERVER_CLIENT ? ' selected ' : '' )?> >Server to Client</option>
16
+ <option value="<?= Packet::DIRECTION_PEER_TO_PEER ?> "<?= (( $ form_fields ['direction ' ] ?? null ) === Packet::DIRECTION_PEER_TO_PEER ? ' selected ' : '' )?> >Peer to Peer</option>
17
17
</select>
18
18
</div>
19
19
</div><div class="col-lg-3">
You can’t perform that action at this time.
0 commit comments