Skip to content

Commit

Permalink
fix for php7.2
Browse files Browse the repository at this point in the history
Signed-off-by: Lloric Mayuga Garcia <lloricode@gmail.com>
  • Loading branch information
lloricode committed Mar 2, 2018
1 parent 2afd03d commit 2e8e2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/admin/find_rooms/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
</div>
</div>
</div>
@if (isset($rooms) && count($rooms) == 0)
@if (isset($rooms) && is_null($rooms))
<div class="form-group" style="text-align: center">
<label>@lang('quickadmin.find-room.no_rooms_found')</label>
</div>
@endif
@if (count($rooms) > 0)
@if (!is_null($rooms))
<div class="panel-body table-responsive">
<table class="table table-bordered table-striped">
<thead>
Expand Down

0 comments on commit 2e8e2aa

Please sign in to comment.