mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #1073 from openclassify/dia
#3991 [customfields-module] Column value not working
This commit is contained in:
commit
8a552d6b78
@ -292,7 +292,7 @@ class AdvsController extends PublicController
|
||||
->view($adv);
|
||||
$features = array();
|
||||
foreach ($listingCFs as $listingCF) {
|
||||
if ($key = array_search($listingCF->slug, array_column($tempFeatures, 'slug'))) {
|
||||
if (($key = array_search($listingCF->slug, array_column($tempFeatures, 'slug'))) !== false) {
|
||||
$features[$listingCF->slug] = $tempFeatures[$key];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user