[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [FIX] Initialize pending and notpending arrays in wikiplugin_group to fix...

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69dd44c5b08dc_3b18e5482886a@gitlab-sidekiq-low-urgency-cpu-bound-v2-7588cf5bd5-rr7pb.mail>

luci pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
c2d403cc by Espoir Baraka at 2026-04-13T19:24:36+00:00
[FIX] Initialize pending and notpending arrays in wikiplugin_group to fix...
---
* [FIX] Initialize pending and notpending arrays in wikiplugin_group to fix...
---
* [FIX] Initialize pending and notpending arrays in wikiplugin_group to fix index rebuild when {GROUP} uses notgroups without pending/notpending

See merge request tikiwiki/tiki!9989

(cherry picked from commit e72d882d9866448cbcc381138654a05c63bce09d)

See merge request tikiwiki/tiki!10009

- - - - -


1 changed file:

- lib/wiki-plugins/wikiplugin_group.php


Changes:

=====================================
lib/wiki-plugins/wikiplugin_group.php
=====================================
@@ -112,6 +112,8 @@ function wikiplugin_group($data, $params)
     $allowedUsers = $params['users'];
     $userPending = [];
     $userNotPending = [];
+    $pending = [];
+    $notpending = [];
     if (! is_null($params['pending']) || ! is_null($params['notpending'])) {
         $pending = $params['pending'] ?? [];
         $notpending = $params['notpending'] ?? [];



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

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