Unverified Commit 7c4b7374 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

🚑 fix(supann) Add missing "global $config" in etablissement contructor

This was missed when merging code from 1.4-dev.
Spotted by Sonar.

issue #5911
parent f6b1d32e
......@@ -141,6 +141,8 @@ class etablissement extends simplePlugin
function __construct ($dn = NULL, $object = NULL, $parent = NULL, $mainTab = FALSE)
{
global $config;
parent::__construct($dn, $object, $parent, $mainTab);
if (empty($this->acl_base)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment