![]() |
Yeah, I think that's your problem - if radded is blank you shouldn't be including it in the average, right? You're subtracting the start time from 0 and ending up with a huge negative number. I think you need something like:
PHP Code:
|
Another test, I changed $rep - $tick back to normal and got this:
Code:
tid=3 tadded=1265085047 radded=1265085108 seconds=61 i=1 --------------- Added [DATE]1265081713[/DATE] at [TIME]1265081713[/TIME] --------------- Do I need this at all? PHP Code:
|
Quote:
|
Ah ok, overall then it is working, showing a high reply time but I assume that is due to the amount of tickets and the replies that are there since it is a testing enviroment.
|
yeah, you can see the debug output and you can actually do the math yourself. you have 3 tickets with reply times 61 seconds, about 22 hours, 0 seconds, so the average should be around 7 hours.
|
Yeah, pain pills kinda slows down my math skills. LOL
Its all good now, I have it giving an average for last 30 tickets and an average for a single ticket. Thanks for all the help. |
All times are GMT. The time now is 09:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|