ezsystems/ezpublish — pull request #383 by joaoinacio (2012-08-01 17:29:48+00:00)
Title: Fixed #019549: Incorrect language masks set for URL alias, inconsistent ...

...behavior.

Make sure that the "always available" bit mask is set only for the actual main language.
The mask must be set after all other languages, or the flag could be unset if the same text translation is used on different languages.