Fixed bug when adding people to the bill throws an exception

This commit is contained in:
amazing-username
2017-05-29 22:31:46 +00:00
parent 36afdcebd1
commit e356bf4555
3 changed files with 16 additions and 24 deletions
+2 -1
View File
@@ -44,6 +44,7 @@
</p>
{!! Form::close() !!}
<h1>{{ $message }}</h1>
<div>
<br><br>
<h1>Add people to the bill</h1>
@@ -128,7 +129,7 @@
{{ Form::button('check', array('style' => '', 'type' => 'submit')) }}
</p>
{!! Form::close() !!}
{{ $empt = isset($payer[0]) }}
{{ $empt = isset($payer) }}
@if (!$empt)
nothing
@endif