Skip to content

Commit

Permalink
Use the correct constant name
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosp committed Jan 13, 2025
1 parent f5ea7c6 commit 2453a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Behavior/TrashBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function beforeDelete(EventInterface $event, EntityInterface $entity, Arr
return;
}

$options[self::SOFT_DELETE_OPTION] = true;
$options[self::DELETE_OPTION_NAME] = true;

/** @var \Cake\ORM\Table $table */
$table = $event->getSubject();
Expand Down

0 comments on commit 2453a9a

Please sign in to comment.