BUG - send email workflow task to an assigned group crash

More
17 Sep 2015 13:33 #3336 by 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

Please Log in to join the conversation.

Time to create page: 0.153 seconds