I'm trying to remove all empty strings "" from the kat-array. I tried to do it by using array_filter function like this:
$array = array_filter($array, "strlen");
The problem is that kat[4] is now an object instead of an array.
Any idea how I can remove empty stings from an array without transforming them into an object?
Before
After

