From e0f5f4b9d56e9ad6e0d2f57ad077cfdc00c2b5cc Mon Sep 17 00:00:00 2001 From: KHELIFA Date: Wed, 3 Apr 2019 14:22:21 +0200 Subject: [PATCH] Module RequestManager, SynergiesTech: task #1039 - Accepte tous les caractere dans le titre de la demande --- htdocs/custom/requestmanager/card.php | 2 +- htdocs/custom/requestmanager/createfast.php | 2 +- .../custom/synergiestech/class/actions_synergiestech.class.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/custom/requestmanager/card.php b/htdocs/custom/requestmanager/card.php index 8853fc3e21574..a9e8735bc28f4 100755 --- a/htdocs/custom/requestmanager/card.php +++ b/htdocs/custom/requestmanager/card.php @@ -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'); diff --git a/htdocs/custom/requestmanager/createfast.php b/htdocs/custom/requestmanager/createfast.php index 3a36b789e3710..a9d6add7189cb 100755 --- a/htdocs/custom/requestmanager/createfast.php +++ b/htdocs/custom/requestmanager/createfast.php @@ -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'); diff --git a/htdocs/custom/synergiestech/class/actions_synergiestech.class.php b/htdocs/custom/synergiestech/class/actions_synergiestech.class.php index 98f4edcc400d4..2fbc5edc8d20e 100644 --- a/htdocs/custom/synergiestech/class/actions_synergiestech.class.php +++ b/htdocs/custom/synergiestech/class/actions_synergiestech.class.php @@ -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');