Skip to content

Commit

Permalink
Fixes #279 - QR checkbox not staying checked
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Oct 16, 2014
1 parent 58a99a2 commit ee7d9be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/backend/settings/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
@lang('admin/settings/general.display_qr')</label>
<div class="controls">
@if ($is_gd_installed)
<input class="col-md-1" type="checkbox" name="qr_code" id="qr_code" value="1" {{ $setting->qr_code === 1 ? 'checked' : '' }} />
{{ Form::checkbox('qr_code', '1', Input::old('qr_code', $setting->qr_code)) }}

@else
<span class="help-inline">
@lang('admin/settings/general.php_gd_warning')
Expand Down

0 comments on commit ee7d9be

Please sign in to comment.