Commit f99619dc by Bagus Pambudi

fix bug body position atas

parent e397183a
......@@ -31,7 +31,7 @@
@endsection
@section('content')
@if(strtolower($setting['body_position']) == 'atas')
@if(isset($setting['body_position']) && strtolower($setting['body_position']) == 'atas')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
......
......@@ -31,7 +31,7 @@
@endsection
@section('content')
@if(strtolower($setting['body_position']) == 'atas')
@if(isset($setting['body_position']) && strtolower($setting['body_position']) == 'atas')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
......
......@@ -32,7 +32,7 @@
@endsection
@section('content')
@if(strtolower($setting['body_position']) == 'atas')
@if(isset($setting['body_position']) && strtolower($setting['body_position']) == 'atas')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
......
......@@ -31,7 +31,7 @@
@endsection
@section('content')
@if(strtolower($setting['body_position']) == 'atas')
@if(isset($setting['body_position']) && strtolower($setting['body_position']) == 'atas')
@if($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
......
......@@ -31,7 +31,7 @@
@endsection
@section('content')
@if(strtolower($setting['body_position']) == 'atas')
@if(isset($setting['body_position']) && strtolower($setting['body_position']) == 'atas')
@if ($body->count() != 0)
<section class="panel-wrapper jt-shadow" style="padding-bottom: 25px;">
@foreach ($body as $value)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment