[TikiWiki-commits] [Git][tikiwiki/tiki][27.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 <69441b7b9d87e_2a180010-111@gitlab-sidekiq-low-urgency-cpu-bound-v2-547b5c788f-mkx4s.mail>

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


Commits:
5751c337 by Victor Emanouilov at 2025-12-18T17:19:18+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
=====================================
@@ -450,8 +450,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/5751c3372482e8fdecce2543e6b2fcd66d19f245

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