The ending you saw:
To save her sister Elsa, Anna jumps in the way of Hans’ attack and freezes solid. Elsa embraces her body, causing Anna to thaw out. Elsa realizes she can control her power through love, Anna hooks up with Kristoff, and everyone’s happy.
Producer Peter Del Vecho revealed last year that the movie went through several iterations before becoming the version that hit theaters. In the first version, Elsa and Anna weren’t sisters, they were enemies. Elsa was a standard Disney villain who ignited an ice battle with Anna at the end. Producers scratched this ending because they felt viewers couldn’t connect with Elsa as a villain.
“Making them related led us to the idea of her living in fear of her powers,” Peter told Entertainment Weekly. “What if she’s afraid of who she is? And afraid of hurting the ones she loves? Now we had a character in Anna who was all about love and Elsa who was all about fear. That led to making Elsa a much more dimensional sympathetic character, and instead of the traditional good vs. evil theme we had one that we felt was more relatable: Love vs. fear, and the premise of the movie became that love is stronger than fear.”