FIX param entity in html form file
This commit is contained in:
parent
04be66eab7
commit
d5acc85ef0
@ -352,7 +352,9 @@ class FormFile
|
|||||||
|
|
||||||
// Add entity in $param if not already exists
|
// Add entity in $param if not already exists
|
||||||
if (!preg_match('/entity\=[0-9]+/', $param)) {
|
if (!preg_match('/entity\=[0-9]+/', $param)) {
|
||||||
$param.= 'entity='.(!empty($object->entity)?$object->entity:$conf->entity);
|
$paramEntity = 'entity='.(!empty($object->entity)?$object->entity:$conf->entity);
|
||||||
|
if (!empty($param)) $paramEntity = '&' .$paramEntity;
|
||||||
|
$param .= $paramEntity;
|
||||||
}
|
}
|
||||||
|
|
||||||
$printer=0;
|
$printer=0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user