mirror of
https://github.com/24eme/signaturepdf
synced 2026-03-14 13:55:44 +01:00
retention: change config format
This commit is contained in:
parent
161df8d421
commit
bc11241a28
2 changed files with 8 additions and 9 deletions
5
app.php
5
app.php
|
|
@ -119,9 +119,8 @@ $f3->route('GET /signature',
|
|||
|
||||
if ($f3->exists('signature')) {
|
||||
$retentions = [];
|
||||
foreach ($f3->get('signature.retention') ?? [] as $retention) {
|
||||
$r = explode(':', $retention);
|
||||
$retentions[$r[0]] = $r[1];
|
||||
foreach ($f3->get('signature.retention') ?? [] as $key => $text) {
|
||||
$retentions[$key] = $text;
|
||||
}
|
||||
$f3->set('signatureRetention', $retentions);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue