File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1212
1313- Fix drag and drop
1414- Increased the maximum length of the language column to support longer locale codes
15+ - Fix left side menu url
1516
1617## [ 1.22.1] - 2025-10-10
1718
Original file line number Diff line number Diff line change @@ -39,14 +39,16 @@ public static function getMenuName()
3939
4040 public static function getMenuContent ()
4141 {
42+ /** @var array $CFG_GLPI */
43+ global $ CFG_GLPI ;
44+
4245 if (!Session::haveRight ('entity ' , READ )) {
4346 return false ;
4447 }
4548
46- $ front_fields = Plugin::getPhpDir ('fields ' , false ) . '/front ' ;
4749 $ menu = [
4850 'title ' => self ::getMenuName (),
49- 'page ' => " $ front_fields /container.php " ,
51+ 'page ' => $ CFG_GLPI [ ' root_doc ' ] . " /plugins/fields/front /container.php " ,
5052 'icon ' => PluginFieldsContainer::getIcon (),
5153 ];
5254
You can’t perform that action at this time.
0 commit comments