mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
fix lang
This commit is contained in:
parent
e730503c97
commit
b7505333cc
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue