[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] plugins: Don't validate empty arguments in plugins (seems to be needed following !7442)

"Jonny Bradley \(@jonnybradley\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69a85d7e986cd_3b3d28ea053429@gitlab-sidekiq-low-urgency-cpu-bound-v2-6cc94ddffd-k8dsv.mail>

Jonny Bradley pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
d1e1364c by Jonny Bradley at 2026-03-04T16:19:32+00:00
[FIX] plugins: Don't validate empty arguments in plugins (seems to be needed following !7442)
---
* [FIX] plugins: Don't validate empty arguments in plugins (seems to be needed following !7442)

See merge request tikiwiki/tiki!9687

- - - - -


1 changed file:

- lib/parser/parserlib.php


Changes:

=====================================
lib/parser/parserlib.php
=====================================
@@ -954,6 +954,7 @@ class ParserLib extends TikiDb_Bridge
                     unset($validateArgs[$key]);
                 }
             }
+            $validateArgs = array_filter($validateArgs);
             // Parameter order needs to be stable
             ksort($validateArgs);
 



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d1e1364c0585a04a574d0bec5b65cf5ce2709b59
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
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.