FEATURE: prevent searching empty string.

This commit adds exception handling for serching empty string
This commit is contained in:
Michal Kváček
2016-03-15 14:00:19 +01:00
parent c4e65e18c4
commit b3da43921b
2 changed files with 20 additions and 2 deletions
@@ -8,6 +8,18 @@
<h2>@lang('search.pageTitle')</h2>
</div>
@if (session('success'))
<div data-alert class="callout success">
<strong>{{ session('success') }}</strong>
</div>
@endif
@if (session('error'))
<div data-alert class="callout alert">
<strong>{{ session('error') }}</strong>
</div>
@endif
@if ($search)
<div class="row">
<div class="column large-8">