The call to call_user_func_array should be preceded by "return".