FIX fatal error
This commit is contained in:
parent
6558c69ac7
commit
fc2bf8134f
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ if ($action == 'add' && !empty($permissiontoadd)) {
|
|||
|
||||
// Special field
|
||||
$model_pdf = GETPOST('model');
|
||||
if (!empty($model_pdf) && property_exists($this, 'model_pdf')) {
|
||||
if (!empty($model_pdf) && property_exists($object, 'model_pdf')) {
|
||||
$object->model_pdf = $model_pdf;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue