Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: ilObjOrgUnitTree::$temporary_table_name requires initialization #4573

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions Modules/OrgUnit/classes/class.ilObjOrgUnitTree.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<?php
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
*
* ILIAS is licensed with the GPL-3.0,
* see https://www.gnu.org/licenses/gpl-3.0.en.html
* You should have received a copy of said license along with the
* source code, too.
*
* If this is not the case or you just want to try ILIAS, you'll find
* us at:
* https://www.ilias.de
* https://github.com/ILIAS-eLearning
*/

/**
* Class ilObjOrgUnitTree
Expand All @@ -10,7 +23,7 @@
class ilObjOrgUnitTree
{
protected static ?string $temporary_table_name_getOrgUnitOfUser = null;
protected static string $temporary_table_name;
protected static ?string $temporary_table_name = null;
protected static ?ilObjOrgUnitTree $instance = null;
/** @var int[][] "employee" | "superior" => orgu_ref_id => role_id */
private array $roles;
Expand Down