[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Console: preferences:export fails with a fatal error on redeclared pref functions

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a88947d4e669_3818cf7c4001c@gitlab-sidekiq-low-urgency-cpu-bound-v2-5d46865d44-5ndvj.mail>

luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
d35eba02 by Landry Bitege at 2026-08-21T17:56:58+00:00
[FIX] Console: preferences:export fails with a fatal error on redeclared pref functions
---
* [FIX] Console: preferences:export fails with a fatal error on redeclared pref functions

See merge request tikiwiki/tiki!11031

- - - - -


1 changed file:

- lib/core/Tiki/Command/PreferencesExportCommand.php


Changes:

=====================================
lib/core/Tiki/Command/PreferencesExportCommand.php
=====================================
@@ -195,7 +195,7 @@ class PreferencesExportCommand extends Command
                 continue;
             }
 
-            include $file;
+            include_once $file;
             $list = $function();
 
             foreach ($list as $name => $raw) {



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

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