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