[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Modlib: Add missing cache_time default value in module execution

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <688c0ec8df4b1_2c276366073d4@gitlab-sidekiq-low-urgency-cpu-bound-v2-78ddbdb4c5-vnx84.mail>

ushindi bienvenu pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
e84ea02f by Aksanti Bahiga at 2025-08-01T00:40:19+00:00
[FIX] Modlib: Add missing cache_time default value in module execution
---
* [FIX] Add missing cache_time default value in module execution

See merge request tikiwiki/tiki!8133

- - - - -


1 changed file:

- lib/modules/modlib.php


Changes:

=====================================
lib/modules/modlib.php
=====================================
@@ -1118,7 +1118,7 @@ class ModLib extends TikiLib
             $module_params = isset($mod_reference['params']) ? (array) $mod_reference['params'] : [];
             $module_params = array_merge($defaults, $module_params); // not sure why style doesn't get set sometime but is used in the tpl
 
-            $mod_reference = array_merge(['moduleId' => null, 'ord' => 0, 'position' => 0, 'rows' => 10], $mod_reference);
+            $mod_reference = array_merge(['moduleId' => null, 'ord' => 0, 'position' => 0, 'rows' => 10, 'cache_time' => 0], $mod_reference);
 
             $info = $this->get_module_info($mod_reference);
             $cachefile = $this->get_cache_file($mod_reference, $info);



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

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