[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] tiki-check: replace using undefined variable $file with new filename variable.
"Boss Ibrahim Mussa Gregoire \(@bim-g\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6a7cd442d5d24_3819f6a477273@gitlab-sidekiq-low-urgency-cpu-bound-v2-6bd4c78bd9-kf9q7.mail> |
Boss Ibrahim Mussa Gregoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
c4c14520 by Boss Ibrahim Mussa Gregoire at 2026-08-12T21:58:31+02:00
[FIX] tiki-check: replace using undefined variable $file with new filename variable.
---
* [FIX] tiki-check: replace undefined variable file with filename variable.
See merge request tikiwiki/tiki!10883
- - - - -
1 changed file:
- tiki-check.php
Changes:
=====================================
tiki-check.php
=====================================
@@ -5610,8 +5610,8 @@ function check_for_remote_readable_files(array &$files, string $sourceDir = 'db'
// 2. Match "local" files NOT ending in .php (backups, saves, etc.)
// We use str_contains and str_ends_with for better readability
- if (preg_match('/local(?!.*[.]php$).*$/', $file)) {
- $files[] = $file;
+ if (preg_match('/local(?!.*[.]php$).*$/', $fileName)) {
+ $files[] = $fileName;
}
}
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/c4c1452031c00cbe8b4ed6b42a6748d4b6b7bdd4
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/c4c1452031c00cbe8b4ed6b42a6748d4b6b7bdd4
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