fixed 'function ends without a return statement' warning
fixed 'function ends without a return statement' warning

RedwoodAdmin/RedwoodFramework,RedwoodAdmin/RedwoodFramework,RedwoodAdmin/RedwoodFramework,RedwoodAdmin/RedwoodFramework,RedwoodAdmin/RedwoodFramework,RedwoodAdmin/RedwoodFramework