]> git.proxmox.com Git - pve-manager.git/commit
api: backup: normalize 'dow' format when converting
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 17 Nov 2021 14:21:01 +0000 (15:21 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Nov 2021 14:22:45 +0000 (15:22 +0100)
commit307b2608a5d9b20ca114033178ed0bd1a1ff726c
treed13d2556465598fba3a778a778b97b93c16c93c5
parent1c87d3447c0cb0c4e3278c4574b33146d132de31
api: backup: normalize 'dow' format when converting

the old web ui sends the days as seperate parameters, which will
be concatenated by a null-byte in the api, causing it to land it this
way in the jobs.cfg

to fix this, split+join the list to get a well-formed dow list

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Backup.pm