[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] trackerlist pretty tracker variable assignment name

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69830dc07f2b8_3b18432c4371d@gitlab-sidekiq-low-urgency-cpu-bound-v2-65d8676567-n9b8w.mail>

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


Commits:
1cc89bdc by Victor Emanouilov at 2026-02-04T11:13:28+02:00
[FIX] trackerlist pretty tracker variable assignment name

- - - - -


1 changed file:

- templates/tracker_pretty_item.tpl


Changes:

=====================================
templates/tracker_pretty_item.tpl
=====================================
@@ -5,11 +5,12 @@
     {if $field.type ne 'x'
         and (empty($listfields) or in_array($field.fieldId, $listfields))
         and ($field.type ne 'p' or $field.options_array[0] ne 'password')}
-        {capture name=value|cat:'i':$item.itemId:'f':$field.fieldId}
+        {assign var=varname value='value'|cat:'i':$item.itemId:'f':$field.fieldId}
+        {capture name=$varname}
             {trackeroutput item=$item field=$field list_mode=$list_mode showlinks=$context.showlinks url=$context.url}
         {/capture}
-        {assign var="f_"|cat:$field.fieldId value=$smarty.capture.value}
-        {assign var="f_"|cat:$field.permName value=$smarty.capture.value}
+        {assign var="f_"|cat:$field.fieldId value=$smarty.capture[$varname]}
+        {assign var="f_"|cat:$field.permName value=$smarty.capture[$varname]}
     {else}
         {assign var="f_"|cat:$field.fieldId value=''}
         {assign var="f_"|cat:$field.permName value=''}



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

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