diff --git a/htdocs/core/modules/modApi.class.php b/htdocs/core/modules/modApi.class.php index 60145c73e1d..254e3f86983 100644 --- a/htdocs/core/modules/modApi.class.php +++ b/htdocs/core/modules/modApi.class.php @@ -135,7 +135,7 @@ class modApi extends DolibarrModules // Permissions $this->rights = array(); // Permission array used by this module $this->rights_admin_allowed = 1; // Admin is always granted of permission (even when module is disabled) - + $r = 0; // Add here list of permission defined by an id, a label, a boolean and two constant strings.