Skip to content

Firefly III: a personal finances manager

Fix checkbox for edit screen.

James Cole9b4f87d44aaa
diff --git a/resources/views/form/options.blade.php b/resources/views/form/options.blade.php
index eb17637f38..b20edda43d 100644
--- a/resources/views/form/options.blade.php
+++ b/resources/views/form/options.blade.php
@@ -64,7 +64,7 @@
</label>
<div class="col-sm-8">
<div class="radio"><label>
- {!! Form::checkbox('return_to_edit', '1') !!}
+ {!! Form::checkbox('return_to_edit', '1', intval(Input::old('return_to_edit')) == 1) !!}
After updating, return here.
</label>
</div>