You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2015-10-26 13:02:10

rjmontenegro
Member
Registered: 2014-06-30
Posts: 16

Ticket url approve

Hello.
In version 0.9 the variable ##ticket.urlapprove## redirect to http://glpi/index.php?redirect=ticket_1236_Ticket$2.
The correct would be http://glpi/index.php?redirect=ticket_1236_Ticket$1 for show the approval and refuse the solution.
Thanks

Offline

#2 2016-02-11 14:58:55

a.lagarde
Member
Registered: 2016-02-11
Posts: 2

Re: Ticket url approve

Hello,

We faced the same issue. As a workaround you can set the following under the // Specific datas

// bug URL approve
      $datas['##ticket.urlapprove##']
                        = $this->formatURL($options['additionnaloption']['usertype'],
                                           "ticket_".$item->getField("id")."_Ticket$1");
      //

in glpi/inc/notificationtargetticket.class.php

Regards,

Offline

#3 2016-02-12 15:44:05

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Ticket url approve


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB