Skip to content

Commit c5093dd

Browse files
authored
Fix database relation declaration (#514)
* Fix(Core): Fix invalid relations declared * adapt changelog
1 parent c281a93 commit c5093dd

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [UNRELEASED]
9+
10+
### Fixed
11+
12+
- Fix warning: Invalid relations declared between `glpi_plugin_order_accountsections` and `glpi_plugin_order_accountsections` table.
13+
814
## [2.12.3] - 2025-11-25
915

1016
### Fixed

hook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function plugin_order_getDatabaseRelations()
177177
"glpi_plugin_order_orders_suppliers" => "plugin_order_orders_id",
178178
],
179179
"glpi_plugin_order_accountsections" => [
180-
"glpi_plugin_order_accountsections" => "plugin_order_accountsections_id",
180+
"glpi_plugin_order_orders" => "plugin_order_accountsections_id",
181181
],
182182
"glpi_plugin_order_analyticnatures" => [
183183
"glpi_plugin_order_orders_items" => "plugin_order_analyticnatures_id",

0 commit comments

Comments
 (0)