bugfix
This commit is contained in:
parent
aaba414d8f
commit
a7171c6aac
@ -230,7 +230,7 @@ if ($_GET["action"] == 'create')
|
||||
print '<td colspan="2">';
|
||||
$model=new ModelePDFPropales();
|
||||
$liste=$model->liste_modeles($db);
|
||||
$html->select_array("model",$liste,$conf->global->PROPALE_ADDON_PDF);
|
||||
$html->select_array("modelpdf",$liste,$conf->global->PROPALE_ADDON_PDF);
|
||||
print "</td></tr>";
|
||||
|
||||
// Projet
|
||||
|
||||
@ -530,7 +530,11 @@ if ($_REQUEST['action'] == 'builddoc' && $user->rights->propale->creer)
|
||||
{
|
||||
$propal = new Propal($db);
|
||||
$propal->fetch($_GET['propalid']);
|
||||
if ($_POST['modelpdf']) $propal->set_pdf_model($user, $_POST['modelpdf']);
|
||||
if ($_POST['modelpdf'])
|
||||
{
|
||||
$propal->set_pdf_model($user, $_POST['modelpdf']);
|
||||
}
|
||||
|
||||
if ($_REQUEST['lang_id'])
|
||||
{
|
||||
$outputlangs = new Translate(DOL_DOCUMENT_ROOT ."/langs");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user