[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [FIX] array to string conversion in itemslist cache key generation

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6925b5f13cbec_2a31ad58998a6@gitlab-sidekiq-low-urgency-cpu-bound-v2-7877566998-mzdgq.mail>

Victor Emanouilov pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki


Commits:
b1d6ba10 by Victor Emanouilov at 2025-11-25T15:58:01+02:00
[FIX] array to string conversion in itemslist cache key generation

- - - - -


1 changed file:

- lib/trackers/trackerlib.php


Changes:

=====================================
lib/trackers/trackerlib.php
=====================================
@@ -937,7 +937,7 @@ class TrackerLib extends TikiLib
         }
         if ($use_cache) {
             static $cache = [];
-            $cacheKey = "concat_item_from_fieldslist_{$trackerId}_{$itemId}_{$fieldsId}_{$status}_{$separator}_{$list_mode}_{$strip_tags}_{$format}";
+            $cacheKey = "concat_item_from_fieldslist_{$trackerId}_{$itemId}_" . implode('|', $fieldsId) . "_{$status}_{$separator}_{$list_mode}_{$strip_tags}_{$format}";
             if (isset($cache[$cacheKey])) {
                 return $cache[$cacheKey];
             }



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b1d6ba105d2e0e34bed9856b59471815c61cff7d

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b1d6ba105d2e0e34bed9856b59471815c61cff7d
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.