qual: phpstan for htdocs/core/actions_massactions.inc.php
htdocs/core/actions_massactions.inc.php 1754 Property CommonObject::$fk_project (int) does not accept array|string.
This commit is contained in:
parent
c451526d2a
commit
bb942ba009
1 changed files with 1 additions and 1 deletions
|
|
@ -1751,7 +1751,7 @@ if (!$error && ($massaction == 'clonetasks' || ($action == 'clonetasks' && $conf
|
|||
}
|
||||
|
||||
if (!$error) {
|
||||
$clone_task->fk_project = GETPOST('projectid', 'int');
|
||||
$clone_task->fk_project = GETPOSTINT('projectid');
|
||||
$clone_task->ref = $defaultref;
|
||||
$clone_task->label = $origin_task->label;
|
||||
$clone_task->description = $origin_task->description;
|
||||
|
|
|
|||
Loading…
Reference in a new issue