That's not quite true although it's something a lot of people have "heard." Ray Kroc was just starting to franchise his McDonald's idea as Disneyland was opening. He sent a letter to Walt Disney talking about his concept and asking if there was a place for it in Disneyland. Nothing ever came of it. The fuller anecdote is in "Walt Disney: The Triumph of the American Imagination," the 2006 biography by Neal Gabler.