All I can find on the subject is on IMDb.com
Character error

“When Danny Kaye changes costumes in his cabaret act, he puts on a Scottish kilt, but he puts it on backwards. Scottish kilts are always worn with the pleats in the back; Danny's are in the front.”

Listed under their “Goofs” category