Merge pull request #12504 from hregis/10.0_mc
FIX compatibility with Multicompany
This commit is contained in:
commit
c9cc503036
@ -53,7 +53,6 @@ $object = new Ticket($db);
|
|||||||
$extrafields = new ExtraFields($db);
|
$extrafields = new ExtraFields($db);
|
||||||
$extralabels = $extrafields->fetch_name_optionals_label($object->table_element);
|
$extralabels = $extrafields->fetch_name_optionals_label($object->table_element);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
*/
|
*/
|
||||||
@ -359,7 +358,7 @@ if ($action != "infos_success") {
|
|||||||
$formticket->withfile = 2;
|
$formticket->withfile = 2;
|
||||||
$formticket->action = 'create_ticket';
|
$formticket->action = 'create_ticket';
|
||||||
|
|
||||||
$formticket->param = array('returnurl' => $_SERVER['PHP_SELF']);
|
$formticket->param = array('returnurl' => $_SERVER['PHP_SELF'].($conf->entity > 1 ? '?entity='.$conf->entity : ''));
|
||||||
|
|
||||||
if (empty($defaultref)) {
|
if (empty($defaultref)) {
|
||||||
$defaultref = '';
|
$defaultref = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user