// get persons in slice
if (!empty($person_ids)) {
$persons = $api->GetPersons(array('person_id' => $slice['person_ids']), $person_columns);
+} else {
+ $persons = [];
}
// just propose to add everyone else
{
return array("display" => $tag['tagname'], "value" => $tag['tag_type_id']);
}
- $all_tags = $api->GetTagTypes(array("category" => "*slice*", "-SORT" => "+tagname"), array("tagname", "tag_type_id"));
+ $all_tags = $api->GetTagTypes(array("category" => "*slice*/ui*", "-SORT" => "+tagname"), array("tagname", "tag_type_id"));
if ($profiling) {
plc_debug_prof('16: tagtypes', count($all_tags));
}
// Print footer
include 'plc_footer.php';
-
-?>