FileManager: restore multiple from trash

Version 1.61.1


Relating to the new FileManager trash feature, the restore of a single file is fine if done through an href link. But selecting multiple files for restore would throw an error: You must enter a valid path. eg: /.trash/files/file.txt.1 This was due to the post container's "allow duplicates" flag being set for the general select[] style of posting multiple values, instead of select0,select1, causing multiple values in the container:: path=/.trash path=/.trash/files/delete1.txt Simply clearing the path before setting the next file loop solved it.

Interested to try DirectAdmin? Get a 30-day Free Trial!