Fix "restore all selected files"

It seems that a typo sneaked in during a backport.

This fixes the case when selecting files in the trashbin and clicking
"Restore" on the tool bar to restore them all.
Merge pull request #7763 from owncloud/stable5-fixrestoreall

[stable5] Fix "restore all selected files"