Unfortunately, I can't say for sure if this section of code is substantially different between then and now. What you might do is just try it. If it doesn't work, just put the code back to the way it was. And hope that the Head Mole (Charter) comes along with some assistance.
Be sure and let us know if it doesn't work, so I'll cross that one off recommended solutions for the current version of phpdig.
Hope this helps.