mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
#4000 tablo görünümünde hata
This commit is contained in:
parent
15b96aa6bd
commit
edd4aefd43
@ -290,6 +290,9 @@ class AdvsController extends PublicController
|
|||||||
if ($adv->cf_json) {
|
if ($adv->cf_json) {
|
||||||
$tempFeatures = app('Visiosoft\CustomfieldsModule\Http\Controller\CustomFieldsController')
|
$tempFeatures = app('Visiosoft\CustomfieldsModule\Http\Controller\CustomFieldsController')
|
||||||
->view($adv);
|
->view($adv);
|
||||||
|
$tempFeatures = array_values(array_filter($tempFeatures, function ($tempFeature) {
|
||||||
|
return !is_array($tempFeature['custom_field_value']);
|
||||||
|
}));
|
||||||
$features = array();
|
$features = array();
|
||||||
foreach ($listingCFs as $listingCF) {
|
foreach ($listingCFs as $listingCF) {
|
||||||
if (($key = array_search($listingCF->slug, array_column($tempFeatures, 'slug'))) !== false) {
|
if (($key = array_search($listingCF->slug, array_column($tempFeatures, 'slug'))) !== false) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user