[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] wiki arg variables in plugin parameters - resolve mixed variable reference problem

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69441b6ac66e7_2a17fb60528dc@gitlab-sidekiq-low-urgency-cpu-bound-v2-547b5c788f-r8t7d.mail>

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


Commits:
3ecec124 by Victor Emanouilov at 2025-12-18T17:18:58+02:00
[FIX] wiki arg variables in plugin parameters - resolve mixed variable reference problem

- - - - -


1 changed file:

- lib/core/WikiParser/Parsable.php


Changes:

=====================================
lib/core/WikiParser/Parsable.php
=====================================
@@ -454,8 +454,9 @@ if ( \$('#$id') ) {
         $args = preg_replace(['/^&quot;/', '/&quot;$/'], '', $args);        // Similarly remove the encoded " chars from the args
 
         $this->parse_wiki_argvariable($data);
-        foreach ($args as &$arg) {
+        foreach ($args as $key => $arg) {
             $this->parse_wiki_argvariable($arg);
+            $args[$key] = $arg;
         }
 
         $outputFormat = 'wiki';



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

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