1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2023-04-12 18:44:58 -03:00
parent e730503c97
commit b7505333cc

View file

@ -80,6 +80,7 @@ class User_Location extends PluginAbstract {
static function changeLang($force = false) {
global $global;
_session_start();
if (!empty($force) || empty($_SESSION['language'])) {
$obj = AVideoPlugin::getDataObject('User_Location');
if ($obj->autoChangeLanguage) {