Skip to content

Commit

Permalink
Implement isValidPatch for OpHandlerSurveyUpdate (#3604)
Browse files Browse the repository at this point in the history
  • Loading branch information
twilligls committed Nov 17, 2023
1 parent 38c6956 commit 60111c5
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -82,7 +82,6 @@ public function handle(OpInterface $op): void
*/
public function isValidPatch(OpInterface $op): bool
{
// TODO: Implement isValidPatch() method.
return true;
return ((int)$op->getEntityId()) > 0;
}
}

0 comments on commit 60111c5

Please sign in to comment.