Merge pull request #32160 from glu000/19.0-fix-32158

Fix #32158
This commit is contained in:
Laurent Destailleur 2024-12-03 21:11:33 +01:00 committed by GitHub
commit ec7fd647ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1766,6 +1766,7 @@ if ($action == 'create') {
$fk_account = GETPOST('fk_account', 'int');
// Load objectsrc
$objectsrc = null;
if (!empty($origin) && !empty($originid)) {
// Parse element/subelement (ex: project_task)
$element = $subelement = $origin;