mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
fix wrong test (#28202)
This commit is contained in:
committed by
Laurent Destailleur
parent
f2961901fe
commit
2c8ffdc160
@@ -79,8 +79,8 @@ $object = new Opensurveysondage($db);
|
||||
$urlwithroot = DOL_MAIN_URL_ROOT; // This is to use same domain name than current. For Paypal payment, we can use internal URL like localhost.
|
||||
|
||||
// Security check
|
||||
if (empty($conf->recruitment->enabled)) {
|
||||
httponly_accessforbidden('Module Recruitment not enabled');
|
||||
if (!isModEnabled('opensurvey')) {
|
||||
httponly_accessforbidden('Module Opensurvey not enabled');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user