[TikiWiki-commits] [Git][tikiwiki/tiki][29.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 <6925b5dac939_2a8a428818826@gitlab-sidekiq-low-urgency-cpu-bound-v2-7877566998-cm7tz.mail>

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


Commits:
1a7f1789 by Victor Emanouilov at 2025-11-25T15:57:36+02:00
[FIX] array to string conversion in itemslist cache key generation

- - - - -


1 changed file:

- lib/trackers/trackerlib.php


Changes:

=====================================
lib/trackers/trackerlib.php
=====================================
@@ -963,7 +963,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/1a7f17891b948f25ec4c3dbeae2c1fddb773e287

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1a7f17891b948f25ec4c3dbeae2c1fddb773e287
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.