mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
update code
This commit is contained in:
@@ -550,7 +550,7 @@ class Thirdparties extends DolibarrApi
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if (empty($conf->societe->enabled)) {
|
||||
if (!isModEnabled('societe')) {
|
||||
throw new RestException(501, 'Module "Thirdparties" needed for this request');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user