remove custom dir in .gitignore and add to custom .gitignore

This commit is contained in:
ATM-NicolasV
2023-05-29 09:44:58 +02:00
parent f97ebce52a
commit bd27a9ded2
2 changed files with 2 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ if ($action == 'builddoc' && ($permissiontoadd || !empty($usercangeneretedoc)))
} elseif (!empty($object->fk_account)) {
$object->fk_bank = $object->fk_account;
}
//}
//}
$outputlangs = $langs;

View File

@@ -5334,6 +5334,7 @@ abstract class CommonObject
protected function commonGenerateDocument($modelspath, $modele, $outputlangs, $hidedetails, $hidedesc, $hideref, $moreparams = null)
{
global $conf, $langs, $user, $hookmanager, $action;
$srctemplatepath = '';
$parameters = array('modelspath'=>$modelspath, 'modele'=>$modele, 'outputlangs'=>$outputlangs, 'hidedetails'=>$hidedetails, 'hidedesc'=>$hidedesc, 'hideref'=>$hideref, 'moreparams'=>$moreparams);