Merge pull request #416 from AndreasK79/Removednonefromprofileselect

Removed the ability to set none in stationprofile. Fixes #414
This commit is contained in:
Peter Goodhall
2020-02-17 01:18:05 +00:00
committed by GitHub
2 changed files with 0 additions and 2 deletions

View File

@@ -315,7 +315,6 @@
<div class="form-group">
<label for="inputStationProfile">Change Station Profile</label>
<select id="stationProfile" class="custom-select" name="station_profile">
<option value="0" selected="selected">None</option>
<?php foreach ($my_stations->result() as $stationrow) { ?>
<option value="<?php echo $stationrow->station_id; ?>" <?php if($station_id == $stationrow->station_id) { echo "selected=\"selected\""; } ?>><?php echo $stationrow->station_profile_name; ?></option>
<?php } ?>

View File

@@ -162,7 +162,6 @@
<div class="form-group">
<label for="inputStationProfile">Station Profile</label>
<select id="stationProfile" class="custom-select" name="station_profile">
<option value="0" selected="selected">None</option>
<?php foreach ($stations->result() as $stationrow) { ?>
<option value="<?php echo $stationrow->station_id; ?>" <?php if($this->session->userdata('station_profile_id') == $stationrow->station_id) { echo "selected=\"selected\""; } ?>><?php echo $stationrow->station_profile_name; ?></option>
<?php } ?>