Removed REQUEST

This commit is contained in:
Laurent Destailleur 2010-12-13 10:59:56 +00:00
parent f1f604a0a7
commit 1b99f10961

View File

@ -342,7 +342,7 @@ if ($_POST['action'] == 'add' && $user->rights->propale->creer)
$outputlangs = new Translate("",$conf);
$outputlangs->setDefaultLang($newlang);
}
propale_pdf_create($db, $object, $_REQUEST['model'], $outputlangs);
propale_pdf_create($db, $object, $object->modelpdf, $outputlangs);
Header ('Location: '.$_SERVER["PHP_SELF"].'?id='.$id);
exit;