Skip to content

Commit

Permalink
Module RequestManager, SynergiesTech: task Dolibarr#1039 - Accepte to…
Browse files Browse the repository at this point in the history
…us les caractere dans le titre de la demande
  • Loading branch information
kkhelifa-opendsi authored and Alexis LAURIER committed Jan 6, 2021
1 parent a4f63a7 commit e0f5f4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/custom/requestmanager/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
//elseif ($action == 'set_label' && $user->rights->requestmanager->creer && $object->statut_type == RequestManager::STATUS_TYPE_IN_PROGRESS) {
elseif ($action == 'set_label' && $user->rights->requestmanager->creer) {
$object->oldcopy = clone $object;
$object->label = GETPOST('label', 'alpha');
$object->label = GETPOST('label');
$result = $object->update($user);
if ($result < 0) {
setEventMessages($object->error, $object->errors, 'errors');
Expand Down
2 changes: 1 addition & 1 deletion htdocs/custom/requestmanager/createfast.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
$selectedContacts = GETPOST('contact_ids', 'array') ? GETPOST('contact_ids', 'array') : (GETPOST('contact_ids', 'alpha') ? explode(',', GETPOST('contact_ids', 'alpha')) : array());

$object->fk_type = GETPOST('type', 'int');
$object->label = GETPOST('label', 'alpha');
$object->label = GETPOST('label');
$object->socid_origin = GETPOST('socid_origin', 'int');
$object->socid = GETPOST('socid', 'int');
$object->socid_benefactor = GETPOST('socid_benefactor', 'int');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ function doActions($parameters, &$object, &$action, $hookmanager)
$selectedContacts = GETPOST('contact_ids', 'array') ? GETPOST('contact_ids', 'array') : (GETPOST('contact_ids', 'alpha') ? explode(',', GETPOST('contact_ids', 'alpha')) : array());

$object->fk_type = GETPOST('type', 'int');
$object->label = GETPOST('label', 'alpha');
$object->label = GETPOST('label');
$object->socid_origin = GETPOST('socid_origin', 'int');
$object->socid = GETPOST('socid', 'int');
$object->socid_benefactor = GETPOST('socid_benefactor', 'int');
Expand Down

0 comments on commit e0f5f4b

Please sign in to comment.