[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Site logo preference: Handle missing galleryId parameter during file upload
Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <698249fb143ab_3b2d2e57c7393c@gitlab-sidekiq-low-urgency-cpu-bound-v2-7ffb9cb746-6fn4k.mail> |
Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
137c1f21 by David Maene at 2026-02-03T19:06:31+00:00
[FIX] Site logo preference: Handle missing galleryId parameter during file upload
---
* [FIX][ENH] Tiki-upload_file: update site logo when requested via update_site_logo flag
* [FIX] Handle missing galleryId parameter during file upload
See merge request tikiwiki/tiki!8808
- - - - -
1 changed file:
- templates/prefs/text.tpl
Changes:
=====================================
templates/prefs/text.tpl
=====================================
@@ -18,12 +18,12 @@
</div>
{/if}
{if !empty($p.fgal_picker)}
- {$fileId = {ldelim}|cat:'fileId'|cat:{rdelim}}
+ {$fileId = "%fileId%"}
<a
class="btn btn-primary"
title="{tr}Upload image{/tr}"
href="#"
- onclick="$('#{$p.id|escape}').trigger('select'); openFgalsWindow('tiki-upload_file.php?filegals_manager={$p.id|escape}&insertion_syntax={$fileId|sefurl:display}', true);return false;"
+ onclick="$('#{$p.id|escape}').trigger('select'); openFgalsWindow('tiki-upload_file.php?filegals_manager={$p.id|escape}&insertion_syntax={$fileId|sefurl:display}&galleryId=1', true);return false;"
role="button"
>
{icon name='image'} {tr}Upload image{/tr}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/137c1f217b8b03580bfcad715183d40fe21a2f66
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/137c1f217b8b03580bfcad715183d40fe21a2f66
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