BUG - send email workflow task to an assigned group crash

Di più
17/09/2015 13:33 #3336 da cpvt
hi, I have a workflow on Ticket that on first save of it in state "Open" send an email to the the one/s the tcket is assigned.
If the ticket is assigned to a group the email task crash returning a blank page during the ticket save.
The problem is located in include/utils/CommonUtils.php in function getUserFullName($userid) where you call a require('user_privileges/requireUserPrivileges.php'); but the current_user is set to the assigned group that don't have a file in user_privileges folder. The require try to include a inexistent file!!

Temporary workaround waiting for the fix:

comment the line require('user_privileges/requireUserPrivileges.php'); so the $user_info array stay empty and the code goes trought the other three of if (the olds statements)

thank you

Si prega Accedi a partecipare alla conversazione.

Tempo creazione pagina: 0.137 secondi