This code was probably copy&paste'd from `htdocs/compta/prelevement/card.php` where the `$object` variable exists.
On `htdocs/compta/prelevement/line.php` `$object` is not defined, and `$type` come from the `$type = GETPOST('type', 'aZ09');` which ends up being overwritten with null.
|
||
|---|---|---|
| .. | ||
| class | ||
| card.php | ||
| create.php | ||
| demandes.php | ||
| factures.php | ||
| fiche-rejet.php | ||
| fiche-stat.php | ||
| index.php | ||
| line.php | ||
| list.php | ||
| orders_list.php | ||
| rejets.php | ||
| stats.php | ||