php didn't like a variable without the == true I think