Issue #1817484 by tomgeekery, kiamlaluno: Fixed The function contains a 'return' statement right at the end of the function.