Skip to content

Commit

Permalink
fix using wrong var
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Ribeiro committed Oct 29, 2024
1 parent 29eef51 commit 1e8ff13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion endpoints/subscription/clone.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
$cloneStmt->bindValue(':notify_days_before', $subscriptionToClone['notify_days_before'], SQLITE3_INTEGER);
$cloneStmt->bindValue(':user_id', $userId, SQLITE3_INTEGER);
$cloneStmt->bindValue(':cancellation_date', $subscriptionToClone['cancellation_date'], SQLITE3_TEXT);
$cloneStmt->bindValue(':replacement_subscription_id', $subscriptionToClone['id'], SQLITE3_INTEGER);
$cloneStmt->bindValue(':replacement_subscription_id', $subscriptionToClone['replacement_subscription_id'], SQLITE3_INTEGER);

if ($cloneStmt->execute()) {
$response = [
Expand Down

0 comments on commit 1e8ff13

Please sign in to comment.