[TikiWiki-commits] [Git][tikiwiki/tiki][28.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 <69441b738c9cd_2a18003884175@gitlab-sidekiq-low-urgency-cpu-bound-v2-547b5c788f-57jzs.mail>

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


Commits:
658a59cf by Victor Emanouilov at 2025-12-18T17:19:09+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/658a59cf11c51cfad384af1f9bfc0abfed88682e

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