[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Trackers: fix main title (isMain) rendering when field type is country with flag
"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69b01db93bb96_3beb4650440@gitlab-sidekiq-low-urgency-cpu-bound-v2-6df5f9ffdd-l94x7.mail> |
luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
b2b7ca79 by Landry Bitege at 2026-03-10T13:23:38+00:00
[FIX] Trackers: fix main title (isMain) rendering when field type is country with flag
---
* [FIX] Tracker: fix main title (isMain) rendering
See merge request tikiwiki/tiki!9723
- - - - -
1 changed file:
- lib/trackers/trackerlib.php
Changes:
=====================================
lib/trackers/trackerlib.php
=====================================
@@ -4175,7 +4175,11 @@ class TrackerLib extends TikiLib
$handler = $this->get_field_handler($field, $item);
if ($handler) {
- $value = $handler->renderOutput(['list_mode' => 'y', 'isMain_context' => true]);
+ $field_ins = $handler->getFieldData();
+ $value_ins = $handler->renderOutput(['list_mode' => 'y', 'isMain_context' => true]);
+ if (is_array($value_ins)) {
+ $value = array_merge($value_ins, $field_ins);
+ }
}
if (! empty($value)) {
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b2b7ca79efa0504f3595b058261ec8b1288bb16e
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b2b7ca79efa0504f3595b058261ec8b1288bb16e
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs