I'm using ELX MT base and all tenants are in the elxpbx datanase under fop2contexts table.
- When I'm deleting organizaion it's not deleted from this table.
- I added new organization but it's not being displayed in the FOP2 tenans page.
I checked the above table and it's there.
Checking the php code the results are : $results = $db->consulta("SELECT * FROM fop2contexts WHERE 1=1 $allowed ORDER BY context");
the $allowed parameter is: isset($_SESSION[MYAP]['AUTHVAR']['allowed_tenants'])?$_SESSION[MYAP]['AUTHVAR']['allowed_tenants']:'';
but when printing this parameter I see that the new organization ID is not in the allowed list.