Prevent PHP warning when saving in BE