Move the success dispatch outside the DB transaction closure to ensure it only fires after the transaction has successfully committed. Use reference variable to track changes across the closure boundary. |
||
|---|---|---|
| .. | ||
| Index.php | ||
| Show.php | ||
Move the success dispatch outside the DB transaction closure to ensure it only fires after the transaction has successfully committed. Use reference variable to track changes across the closure boundary. |
||
|---|---|---|
| .. | ||
| Index.php | ||
| Show.php | ||