1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2023-08-08 14:34:29 -03:00
parent 4bd92c49bb
commit 7248e9f507

View file

@ -822,7 +822,7 @@ class API extends PluginAbstract
$cacheParameters = array('noRelated', 'APIName', 'catName', 'rowCount', 'APISecret', 'sort', 'searchPhrase', 'current', 'tags_id', 'channelName', 'videoType', 'is_serie', 'user', 'videos_id', 'playlist');
$cacheVars = array('users_id' => User::getId());
$cacheVars = array('users_id' => User::getId(), 'device'=>getDeviceName());
foreach ($cacheParameters as $value) {
$cacheVars[$value] = @$_REQUEST[$value];
}