Skip to content

Commit

Permalink
Update api_categories.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
josett225 authored Jun 12, 2024
1 parent 8e1885e commit 97e3333
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/categories/class/api_categories.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,8 @@ public function getObjects($id, $type, $onlyids = 0)
$objects_api = new Contacts();
} elseif ($type == 'project') {
$objects_api = new Projects();
}
}

if (is_object($objects_api)) {
foreach ($objects as $obj) {
$cleaned_objects[] = $objects_api->_cleanObjectDatas($obj);
Expand Down

0 comments on commit 97e3333

Please sign in to comment.