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

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


Commits:
cf9074f7 by Victor Emanouilov at 2025-11-25T15:57:54+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/cf9074f70f77f04d5de272e6b70a13ab2acfb813

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