diff --git a/CHANGELOG.md b/CHANGELOG.md index 07766d8417..9713c87ebb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [UNRELEASED] + +### Fixed + +- Fix warning: Invalid relations declared between `glpi_plugin_order_accountsections` and `glpi_plugin_order_accountsections` table. + ## [2.12.3] - 2025-11-25 ### Fixed diff --git a/hook.php b/hook.php index 5010e2e9b0..632e8230e6 100644 --- a/hook.php +++ b/hook.php @@ -177,7 +177,7 @@ function plugin_order_getDatabaseRelations() "glpi_plugin_order_orders_suppliers" => "plugin_order_orders_id", ], "glpi_plugin_order_accountsections" => [ - "glpi_plugin_order_accountsections" => "plugin_order_accountsections_id", + "glpi_plugin_order_orders" => "plugin_order_accountsections_id", ], "glpi_plugin_order_analyticnatures" => [ "glpi_plugin_order_orders_items" => "plugin_order_analyticnatures_id",