In response to Smith v. Superior Court (L’Oreal USA, Inc.) (2006) 39 Cal.4th 77, the Legislature enacted Lab. Code 201.3(b), which provides that a temporary worker hired by a staffing company and working on assignment for another employer is not terminated for purposes or receiving a final pay check when the temporary assignment ends, but only when the staffing agency itself discharges the employee. Here, the trial court correctly granted summary judgment to defendant based on undisputed evidence that it (as opposed to the temporary employer) did not discharge plaintiff until the day the staffing agency gave her a final pay check. Thus, there was no violation of Lab. Code 203, and summary judgment was properly entered against plaintiff on her PAGA claim for violation of that section.