mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix phan
This commit is contained in:
parent
4eb2b28c72
commit
4b1b0084c9
|
|
@ -95,6 +95,7 @@ class InterfaceEventOrganization extends DolibarrTriggers
|
|||
if (getDolGlobalString('PROJECT_TASK_ADDON') && is_readable(DOL_DOCUMENT_ROOT . "/core/modules/project/task/" . getDolGlobalString('PROJECT_TASK_ADDON') . ".php")) {
|
||||
require_once DOL_DOCUMENT_ROOT . "/core/modules/project/task/" . getDolGlobalString('PROJECT_TASK_ADDON') . '.php';
|
||||
$modTask = new $classnamemodtask();
|
||||
'@phan-var-force ModeleNumRefTask $modTask';
|
||||
$defaultref = $modTask->getNextValue($object->thirdparty, $task);
|
||||
}
|
||||
if (is_numeric($defaultref) && $defaultref <= 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user