[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [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 <69441b6d6dc41_2a1a926c62769@gitlab-sidekiq-low-urgency-cpu-bound-v2-547b5c788f-zvntm.mail>

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


Commits:
a0cca629 by Victor Emanouilov at 2025-12-18T17:19:05+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/a0cca6298087a463317c1c7d700113951d471613

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