do not try to process missing article categories
This commit is contained in:
parent
03a577bff0
commit
a702e9312d
1 changed files with 4 additions and 2 deletions
|
@ -740,8 +740,10 @@
|
||||||
$additional_tags = array();
|
$additional_tags = array();
|
||||||
$additional_tags_src = $item->get_categories();
|
$additional_tags_src = $item->get_categories();
|
||||||
|
|
||||||
foreach ($additional_tags_src as $tobj) {
|
if (is_array($additional_tags_src)) {
|
||||||
array_push($additional_tags, $tobj->get_term());
|
foreach ($additional_tags_src as $tobj) {
|
||||||
|
array_push($additional_tags, $tobj->get_term());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue