Update ERestController.php

triggerCustomRestPut: Added missing else statement.