Again fixing the undefined function call.  Lack of sleep must be getting to me.