mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #416 from AndreasK79/Removednonefromprofileselect
Removed the ability to set none in stationprofile. Fixes #414
This commit is contained in:
@@ -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 } ?>
|
||||
|
||||
@@ -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 } ?>
|
||||
|
||||
Reference in New Issue
Block a user