Update functions.lib.php

This commit is contained in:
Anthony Berton 2020-03-02 18:53:52 +01:00 committed by GitHub
parent db96634339
commit 12b9897f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6317,6 +6317,8 @@ function getCommonSubstitutionArray($outputlangs, $onlykey = 0, $exclude = null,
$substitutionarray['__DIRECTDOWNLOAD_URL_INVOICE__'] = $object->getLastMainDocLink($object->element);
}
else $substitutionarray['__DIRECTDOWNLOAD_URL_INVOICE__'] = '';
$substitutionarray['__URL__'] = DOL_MAIN_URL_ROOT . "/".$object->element . "/card.php?id=" . $object->id;
}
}
}