Fix for developer mode not showing correctly

This commit is contained in:
purple 2023-04-10 15:08:07 +02:00
parent c65bfd86e6
commit e7f3f63ecd

View file

@ -98,8 +98,8 @@
<div class="col-xs-4"> <div class="col-xs-4">
<label class="control-label">Developer Mode</label> <label class="control-label">Developer Mode</label>
<select class="form-control" name="developer"> <select class="form-control" name="developer">
<option value="true" @if($bp->dbGet('developer') == "true") selected @endif>Enabled</option> <option value="true">Enabled</option>
<option value="false">Disabled</option> <option value="false" @if($bp->dbGet('developer') != "true") selected @endif>Disabled</option>
</select> </select>
<p class="text-muted small">Enable or disable developer-oriented features.</p> <p class="text-muted small">Enable or disable developer-oriented features.</p>
</div> </div>