Skip to content

Commit

Permalink
Merge pull request #1 from lloricode/bugfix/count-php7.2
Browse files Browse the repository at this point in the history
fix for php7.2
  • Loading branch information
PovilasKorop committed Mar 2, 2018
2 parents 2afd03d + 2e8e2aa commit 44b4c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/admin/find_rooms/index.blade.php
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 44b4c6e

Please sign in to comment.