When I selected some changes to restore, I got an error: "Invalid argument supplied for foreach()" on line 73 of /home/ruben/congos/pharme-v2/plugins/samuell/revisions/formwidgets/RevisionHistory.php
Turns out the selected changes were not posted. This pull request fixes that and also checks if there are actually selected changes when clicking on the 'Restore selected changes' button.
When I selected some changes to restore, I got an error:
"Invalid argument supplied for foreach()" on line 73 of /home/ruben/congos/pharme-v2/plugins/samuell/revisions/formwidgets/RevisionHistory.php
Turns out the selected changes were not posted. This pull request fixes that and also checks if there are actually selected changes when clicking on the 'Restore selected changes' button.