fixed bug template data [custom theme]

master
A1Gard 5 days ago
parent ff9e83fec9
commit 953c1ae71a

@ -12,7 +12,7 @@
@endforeach
@endif
@foreach(getParts($area,'post'.$post->id) as $part)
@php($p = $part->getBladeWithData())
@php($p = $part->getBladeWithData($post))
@include($p['blade'],['data' => $p['data']])
@endforeach
@if(findArea($area,$post)->use_default)

@ -12,7 +12,7 @@
@endforeach
@endif
@foreach(getParts($area,'$product'.$product->id) as $part)
@php($p = $part->getBladeWithData())
@php($p = $part->getBladeWithData($product))
@include($p['blade'],['data' => $p['data']])
@endforeach
@if(findArea($area,$product)->use_default)

Loading…
Cancel
Save