The cast of "Glee" said sorry to Lindsay Lohan for sarcastic her in an episode last year .
Lindsay was not in at dinner in West Hollywood Sunday night when she ran into the cast (minus Jane Lynch and Lea Michele) ... and naturally, that episode -- sarcastic Lindsay's frequent trips to rehab -- came up.
Sources tell us the cast walked up to LiLo ... makes an apology for the jokes ... and said they didn't mean to hurt her feelings. Lindsay accepted their apology and everyone parted ways.
Don't expect the same thing to happen if Lindsay bumps into Jay Leno. Or David Letterman. Or Jon Stewart. Or Jimmy Kimmel.