fix: proper table reference for PostMeta

This commit is contained in:
Victor Westerlund 2026-02-16 11:21:48 +01:00
parent b14c14d9b3
commit 11038e43a6
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -93,7 +93,7 @@
*/
public function delete(): void {
$this->db
->from(PostMetaTable::TABLE_NAME)
->from(Database::get_table(PostMetaTable::TABLE_NAME))
->delete([PostMetaTable::META_ID->value => $this->id]);
}