This topic contains 0 replies, has 1 voice. Last updated by Brad Severance 3 years, 2 months ago.
Topic Author | Topic |
---|---|
Posted: Thursday Oct 17th, 2013 at 2:58 am #60422 | |
Hi Guys, The problem I’m having is that the EOT Date is being deleted before the hook can have a chance to grab the value. Please consider the auto-eots.inc.php file. On line 122, the eot date gets deleted
Then later on, after a few hooks where I could capture the EOT date, this line is duplicated on 165. To me, the line on 122 is superfluous. If I comment it out, then I can grab the value before it gets deleted on line 165. Generally I suppose that the demotion date and the EOT will be the same and that I could use the demotion date, but suppose the the process runs at 12:01 am or something like that. My code looks like this, which will capture the actual EOT date, if line 122 is commented out, and use the current date if it isn’t:
So, I’m suggesting that line 122 be removed. Thanks! |