Skip to content

Commit

Permalink
Normlization
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJ30 authored and nielsdrost7 committed Dec 4, 2023
1 parent 7f6cd2b commit 8c76ad0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions application/modules/projects/views/form.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
$defaultClientName = $this->mdl_projects->form_value('client_name', true);
$defaultClientSurname = $this->mdl_projects->form_value('client_surname', true);
$default_client_name = $this->mdl_projects->form_value('client_name', true);
$default_client_surname = $this->mdl_projects->form_value('client_surname', true);
?>

<script>
Expand Down Expand Up @@ -29,9 +29,9 @@
<div class="form-group">
<label for="client_id"><?php _trans('client'); ?></label>
<select name="client_id" id="client_id" class="client-id-select form-control" autofocus="autofocus">
<?php if(null !== $defaultClientName): ?>
<option value="<?php echo $defaultClientName; ?>">
<?php echo $defaultClientName . ' ' . $defaultClientSurname; ?>
<?php if(null !== $default_client_name): ?>
<option value="<?php echo $default_client_name; ?>">
<?php echo $default_client_name . ' ' . $default_client_surname; ?>
</option>
<?php endif; ?>
</select>
Expand Down

0 comments on commit 8c76ad0

Please sign in to comment.