Here is array output
Array
(
[conditions] => Array
(
[Service.organization_size_id] => Array
(
[0] => 1
)
)
[limit] => 10
[joins] => Array
(
[0] => Array
(
[type] => inner
[conditions] => Array
(
[ServicesToOrganizationTypes.organization_type_id] => Array
(
[1] => 1
)
[0] => ServicesToOrganizationTypes.service_id = Service.id
)
)
[1] => Array
(
[type] => LEFT
[conditions] => Array
(
[ServicesToLifeCycles.life_cycle_id] => Array
(
[1] => 1
)
[0] => ServicesToLifeCycles.service_id = Service.id
)
)
[3] => Array
(
[type] => inner
[conditions] => Array
(
[servicestoindustries.industry_id] =>
[0] => servicestoindustries.service_id = Service.id
)
)
)
[group] => Service.id
)
I want to remove a array part if [conditions] has no value for exmple below
[3] => Array
(
[type] => inner
[conditions] => Array
(
[servicestoindustries.industry_id] => // here has no value
[0] => servicestoindustries.service_id = Service.id
)
)
So i want to remove it from array
[3] => Array
(
[type] => inner
[conditions] => Array
(
[servicestoindustries.industry_id] => // here has no value
[0] => servicestoindustries.service_id = Service.id
)
)