Fixed the setting up of the temperature user function.
Authored by: bugman 2008-08-11
Parent: [r7132]
Child: [r7134]