Good day to all!
There is a code:
if (count($temp)){ foreach ($temp as $row){ if ($row->cat_state == 1){ $row->route = JRoute::_(ContentHelperRoute::getArticleRoute($row->slug, $row->catslug)); $related[] = $row; } } } The associative array $row->catslug has the value uncategorised . How to make a conclusion of all elements of the array not containing the value of uncategorised ?