Section 3. If a defect in the ways, works or machinery of an employer has been reported to the person whose duty it is to remedy said defect, or cause it to be remedied, or to report its existence, and such defect is not remedied within a reasonable time, and by reason of said defect an employee is injured, such employee shall not be held to have assumed the risk of such injury.