Skip to content

Commit

Permalink
Update ActivateQueryTrait.php
Browse files Browse the repository at this point in the history
  • Loading branch information
secure73 authored Dec 19, 2023
1 parent e86af96 commit 01bffff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/traits/table/ActivateQueryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function activateQuery(?int $id = null):int|null
$this->setError('property is_active does existed or not setted in object');
return null;
}
return $this->updateQuery("UPDATE $table SET is_active = 1 WHERE id = :id", $arrayBind, [':id' => $this->id]);
return $this->updateQuery("UPDATE $table SET is_active = 1 WHERE id = :id", [':id' => $this->id]);
}

/**
Expand Down

0 comments on commit 01bffff

Please sign in to comment.