Jump to content

Undefinied Variable Subfleets


KaiTak

Recommended Posts

Good day everyone,

 

I've got a problem when I want to show my bids

 

Quote

Undefined variable: subfleets (View: /resources/views/layouts/default/flights/search.blade.php)

 

 

The problem might be somewhere here in the search.blade.php:

<div style="margin-top: 10px; margin-left: 5px;">

<p>@lang('common.subfleet')</p>

{{ Form::select('subfleet_id', $subfleets, null , ['class' => 'form-control select2']) }}

</div>

I tried to search where the variable $subfleets gets definied, but I'm an old school hobby php programer, so its hard :D

 

I tried to completly delete this section out of search.blade.php and then it worked, but I don't want to decrease the functionality of the system by any chance.

 

I hope someone can help me finding the problem.

 

Greetings

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...