Fixes a bug for application with no lang vars
authorMatthias Schmidt <gravatronics@live.com>
Thu, 8 Mar 2012 14:33:07 +0000 (15:33 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 8 Mar 2012 14:33:07 +0000 (15:33 +0100)
commit5475a95de9653da056df3375b2ff8087b66a1940
tree610a959186b859ac637ab4905e512d6acecb58e4
parent177ec9357fed13e9c7cd1be43cb020ab750abfae
Fixes a bug for application with no lang vars

This bug should also occur if the active application supports less languages than installed and the installed package supports languages that are installed but not supported by the active application.

In those cases, the localized package infos weren't saved since the language array way empty (or not all localizations were saved). Now all languages are fetched and now this also happens at the very end of the installation which makes it possible to save the localized data in a new language that was delivered by the installed package (though this seems to be not supported yet).
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php