Removed REQUEST
This commit is contained in:
parent
f1f604a0a7
commit
1b99f10961
@ -342,7 +342,7 @@ if ($_POST['action'] == 'add' && $user->rights->propale->creer)
|
|||||||
$outputlangs = new Translate("",$conf);
|
$outputlangs = new Translate("",$conf);
|
||||||
$outputlangs->setDefaultLang($newlang);
|
$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);
|
Header ('Location: '.$_SERVER["PHP_SELF"].'?id='.$id);
|
||||||
exit;
|
exit;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user