From 5b14dc2f1aed118692883db954fd41288258ebfa Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 10 Oct 2018 10:35:31 -0600 Subject: [PATCH] Show category name instead of ID in link title --- calendar/inc/class.calendar_bo.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index c5120fc628..c5d0d0f6d8 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -1992,6 +1992,9 @@ class calendar_bo case 'owner': $extra_fields [$val] = Api\Accounts::id2name($event[$val], 'account_fullname'); break; + case 'category': + $extra_fields [$val] = Api\Categories::id2name($event[$val]); + break; default: $extra_fields [] = $event[$val]; }