Better select language component

This commit is contained in:
Laurent Destailleur
2018-10-03 20:58:45 +02:00
parent 83be1759b1
commit 378013b863
3 changed files with 20 additions and 9 deletions

View File

@@ -305,7 +305,7 @@ function redirectToContainer($containerref, $containeraliasalt='',$containerid=0
*/
function includeContainer($containerref)
{
global $conf, $db, $langs, $mysoc, $user, $website;
global $conf, $db, $hookmanager, $langs, $mysoc, $user, $website, $weblangs; // Very important. Required to have var available when running inluded containers.
global $includehtmlcontentopened;
global $websitekey;