mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
4bd92c49bb
commit
7248e9f507
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue