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

Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki


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

- - - - -


1 changed file:

- lib/trackers/trackerlib.php


Changes:

=====================================
lib/trackers/trackerlib.php
=====================================
@@ -958,7 +958,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/f1648efc54c9d457d8c8b2f92b2edaf9bb8f507c

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