05-04-2023, 02:12 PM
(05-03-2023, 01:06 PM)apidya Wrote: I think I've solved the problem. In a ticket without notes, $item contained the priorities from the table hdz_priority. Since I had notes, previous code overwrote $item with the content of the custom_vars of the ticket. The usage of $item in the entire <div> Block pertaining to the notes is incorrect. There are 3 references to $item in lines 205, 207 and 219. If you change these to $note, it works properly!Fantastic news that you've resolved this, and feel free to create a Pull Request with the fixes. They may help others with the same problem. Unfortunately, @Andres is the only one managing the repository, and none of the other PRs have been incorporated into the repo. :-(
Hope you can update this in your code repository