[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Modlib: undefined array key module-last-modif-tracker-comments

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69e38d793ab3b_3b198958996fc@gitlab-sidekiq-low-urgency-cpu-bound-v2-5cf6b587c7-bcvgs.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
bc3c1a7b by christer77 at 2026-04-18T13:48:47+00:00
[FIX] Modlib: undefined array key module-last-modif-tracker-comments

- - - - -


1 changed file:

- lib/modules/modlib.php


Changes:

=====================================
lib/modules/modlib.php
=====================================
@@ -534,6 +534,10 @@ class ModLib extends TikiLib
         $section = Sections::getCurrentSection();
         $tikilib = TikiLib::lib('tiki');
 
+        if (! isset($prefs['module_' . $module["name"]])) {
+            return false;
+        }
+
         if ($prefs['module_' . $module["name"]] != 'y') {
             return false;
         }



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

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