Avoid PHP error notice by properly referencing the function name