Merge pull request #12555 from frederic34/patch-19
avoid placeid to be string or string[]
This commit is contained in:
commit
557ea14334
@ -226,7 +226,7 @@ if ($action == 'valid' && $user->rights->facture->creer)
|
||||
|
||||
if ($action == 'history')
|
||||
{
|
||||
$placeid = GETPOST('placeid', 'int');
|
||||
$placeid = (int) GETPOST('placeid', 'int');
|
||||
$invoice = new Facture($db);
|
||||
$invoice->fetch($placeid);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user