Merge pull request #827 from wrongecho/loc-primary

Bugfix: New locations are set as the primary
This commit is contained in:
Johnny 2023-11-25 14:14:41 -05:00 committed by GitHub
commit 5772146d14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
<input type="text" class="form-control" name="name" placeholder="Name of location" required autofocus>
<div class="input-group-append">
<div class="input-group-text">
<input type="checkbox" name="location_primary" value="1" <?php if ($location_primary == 0) { echo "checked"; } ?>>
<input type="checkbox" name="location_primary" value="1">
</div>
</div>
</div>