Update ERestController.php

triggerCustomRestPut: Added missing else statement.
Fix for updating belongsTo