1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00

Private videos

This commit is contained in:
daniel 2017-05-04 15:10:03 -03:00
parent 037bbcc338
commit 460c1fbdab

View file

@ -158,6 +158,7 @@ class UserGroups {
global $global;
$result = $global['mysqli']->query("SHOW TABLES LIKE 'users_has_users_groups'");
if (empty($result->num_rows)) {
$_GET['error'] = "You need to <a href='{$global['webSiteRootURL']}update'>update your system to ver 2.3</a>";
return array();
}
if(empty($users_id)){