Remember when Kim Kardashian acted in a movie? Tyler Perry, who cast the reality star in his 2013 film, Temptation: Confessions of a Marriage Counselor, was asked during an appearance on Watch What Happens Live what it was like working with her.

"Who did you have a better time working with — Kim Kardashian or Sweet Brown?" a caller asked the Boo! A Madea Halloween star on Thursday, October 20.

"First of all, Kim is a professional," Perry, 47, said. "A lot of people don't know this about Kim. Kim is very, very professional. She's on time, she's prompt, she does what she's supposed to do. She was really great to work with."

Then he added that Brown, a viral star best known for saying "Ain't nobody got time for that" in a news clip after escaping a fire in her apartment complex in 2012, appeared in A Madea Christmas.

Watch the trailer below to see Kardashian playing a marriage counselor in Temptation, which also starred Jurnee Smollett-Bell, Vanessa Williams and Brandy Norwood.

Kardashian, 36, who previously had small roles in CSI: NY and Drop Dead Diva, was cast in the film shortly after she filed for divorce from second husband Kris Humphries at the end of 2011. (By the time Temptation came out in March 2013, she was pregnant with her first child with Kanye West.)

Perry was criticized at the time for putting the Keeping Up With the Kardashians star in the movie, which is about a woman who meets a man who challenges her marriage and her faith.

"Long before I even heard about Kim's marriage or divorce, I was trying to finish up the casting," Perry explained in a blog post in November 2011. "I said to one of my producers, 'Who else is out there that young people are looking up to?'"

The producer suggested the social media maven and showed him photos of people waiting in line outside one of the Kardashian sisters' Dash stores.

"I thought, what better person?" he continued. "She literally has millions of young people following her. I thought and still do think, that it would be very responsible of her to be a part of this film. To have the young people that look up to her, see her in a film that is about what happens in life when you make the wrong choices."

Want stories like these delivered straight to your inbox? Sign up now for the Us Weekly newsletter!