[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] File Galleries: error 500 when uploading files with deleteAfter (auto-delete) set
"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6a75ae8dde041_3819f6b890022@gitlab-sidekiq-low-urgency-cpu-bound-v2-d6ff6868c-jj4td.mail> |
ushindi bienvenu pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
7391ddc6 by Moïse Nturubika at 2026-08-07T09:54:20+00:00
[FIX] File Galleries: error 500 when uploading files with deleteAfter (auto-delete) set
---
* [FIX] Drop redundant JS bracket-stripping for deleteAfter
* [FIX] File Galleries: error 500 when uploading files with deleteAfter (auto-delete) set
See merge request tikiwiki/tiki!10255
- - - - -
1 changed file:
- templates/tiki-upload_file.tpl
Changes:
=====================================
templates/tiki-upload_file.tpl
=====================================
@@ -265,7 +265,7 @@
<div class="mb-3 row">
<label for="deleteAfter" class="col-md-4 col-form-label">{tr}File can be deleted after{/tr}</label>
<div class="col-md-8">
- {if $editFileId}
+ {if $editFileId or $prefs.elementplus_upload eq 'y'}
{html_select_duration prefix='deleteAfter' id="deleteAfter" default_value=$fileInfo.deleteAfter}
{else}
{html_select_duration prefix='deleteAfter[]' id="deleteAfter" default_unit=week}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/7391ddc667aa3623b53ca901719c249df81c9145
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/7391ddc667aa3623b53ca901719c249df81c9145
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