Fix finish_date to end_date in database_mysqli.php

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-10-29 03:27:26 +00:00
parent f11aeb2f7d
commit a5f5b5acc4

View file

@ -3712,7 +3712,7 @@ class OGPDatabaseMySQL extends OGPDatabase
$ed = $dateTime->getTimestamp();
}
$type = $type != "group" ? $type : "user_group";
$query = sprintf("UPDATE `%sbilling_orders` SET `finish_date` = '%s' WHERE `home_id` = %d",
$query = sprintf("UPDATE `%sbilling_orders` SET `end_date` = '%s' WHERE `home_id` = %d",
$this->table_prefix,
$ed,
$this->realEscapeSingle($home_id));