mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
3542328426
commit
ef42c8459f
1 changed files with 4 additions and 2 deletions
|
@ -227,13 +227,15 @@ class API extends PluginAbstract
|
|||
$type = $value[0];
|
||||
$desktopGlobal = false;
|
||||
$mobileGlobal = false;
|
||||
$desktop = ADs::getAds($type, $users_id);
|
||||
if (empty($desktop)) {
|
||||
$desktopGlobal = true;
|
||||
$desktop = ADs::getAds($type, $users_id);
|
||||
$desktop = ADs::getAds($type, false);
|
||||
}
|
||||
$mobile = ADs::getAds($type . 'Mobile', $users_id);
|
||||
if (empty($mobile)) {
|
||||
$mobileGlobal = true;
|
||||
$mobile = ADs::getAds($type . 'Mobile', $users_id);
|
||||
$mobile = ADs::getAds($type . 'Mobile', false);
|
||||
}
|
||||
//var_dump($desktop);exit;
|
||||
$desktopURLs = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue