258,264d257 < if target.nil? < projects_found = Project.find(:all, :conditions => Project.allowed_to_condition(User.current, :add_issues)) < if projects_found.size > 1 < logger.error "More than one project found and none specified in email" if logger < end < target=projects_found[0] < end