Skip to content

Commit 8c76ad0

Browse files
KevinJ30nielsdrost7
authored andcommitted
Normlization
1 parent 7f6cd2b commit 8c76ad0

File tree

1 file changed

+5
-5
lines changed
  • application/modules/projects/views

1 file changed

+5
-5
lines changed

application/modules/projects/views/form.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
2-
$defaultClientName = $this->mdl_projects->form_value('client_name', true);
3-
$defaultClientSurname = $this->mdl_projects->form_value('client_surname', true);
2+
$default_client_name = $this->mdl_projects->form_value('client_name', true);
3+
$default_client_surname = $this->mdl_projects->form_value('client_surname', true);
44
?>
55

66
<script>
@@ -29,9 +29,9 @@
2929
<div class="form-group">
3030
<label for="client_id"><?php _trans('client'); ?></label>
3131
<select name="client_id" id="client_id" class="client-id-select form-control" autofocus="autofocus">
32-
<?php if(null !== $defaultClientName): ?>
33-
<option value="<?php echo $defaultClientName; ?>">
34-
<?php echo $defaultClientName . ' ' . $defaultClientSurname; ?>
32+
<?php if(null !== $default_client_name): ?>
33+
<option value="<?php echo $default_client_name; ?>">
34+
<?php echo $default_client_name . ' ' . $default_client_surname; ?>
3535
</option>
3636
<?php endif; ?>
3737
</select>

0 commit comments

Comments
 (0)