PDA

View Full Version : task_log_date in helpdesk


jbresler
21-06-05, 08:35 AM
task_log_date isn't showing up in the helpdesk module. When I view the tasks there's no date. If I view tasks in the projects module everything works. I've compared the vw_logs.php file for both, but I'm not schooled enough in php to figure it out. Can somebody help me get the date to show up on my helpdesk tasks? Thanks

jbresler
02-07-05, 12:22 AM
Maybe I'm not clear or maybe I'm the only one having this problem...there's no date showing up on the task logs tab in the Helpdesk module. The task logs tab in the Projects module has a date in this same block. I've compared the vw_logs.php files from both and this section of both looks pretty much the same, but one works and the other doesn't. What am I missing here? Any ideas would be greatly appreciated.

pedroa
02-07-05, 12:48 AM
Tricky little bug.

Before the line 57 that is:

foreach ($logs as $row) {

put this:

$df = $AppUI->getPref('SHDATEFORMAT');


That's all. This should be in helpdesk.class.php so that the $df Global would work.

Pedro A.

jbresler
02-07-05, 01:55 AM
Pedro,
Works Great!
You are very very much appreciated. I'd love to have just a small piece of your knowledge.
Thanks.
JB