tomolimo / processmaker

GLPI plugin that provides an interface with ProcessMaker (http://www.processmaker.com/)
31 stars 11 forks source link

Private comment #153

Closed kofe88 closed 2 years ago

kofe88 commented 2 years ago

Describe the bug @tomolimo , Hi!

@@GLPI_ITEM_FOLLOWUP_IS_PRIVATE = 1;

Is doesn't work or am I doing something wrong?

Screenshots

image image image image

Desktop (please complete the following information):

GLPI 9.5.7

processmaker Name: Process Maker Version: 4.0.11 State: Enabled

ProcessMaker Ver. 3.3.0-community-RE-1.7

Копия_Tutorial_1_2022_04_13_19_03_28-1.zip

tomolimo commented 2 years ago

Hello @kofe88 I beleive there is a bug (a wrong copy/paste) in the code. Could you check in plugins/processmaker/inc/processmaker.class.php line 157? There is the line: if (isset( $txtForFollowup['GLPI_ITEM_FOLLOWUP_IS_PRIVATE'] ) && $txtForFollowup['GLPI_TICKET_FOLLOWUP_IS_PRIVATE'] != "") { But it should be: if (isset($txtForFollowup['GLPI_ITEM_FOLLOWUP_IS_PRIVATE']) && $txtForFollowup['GLPI_ITEM_FOLLOWUP_IS_PRIVATE'] != "") { Could you change it on your system and test again ?

Thank you, Regards, Tomolimo

kofe88 commented 2 years ago

@tomolimo Hello! I change this line, now work correct, thank you!) image

tomolimo commented 2 years ago

Hello @kofe88 I will do a new release with this fix :) Thank you for the test. Regards, Tomolimo