1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Daniel Neto 2025-05-09 19:12:40 -03:00
parent bca1025a86
commit 8ab17a971d

View file

@ -219,12 +219,12 @@ class Subscribe extends ObjectYPT{
}
//$value['notify'] =
$emails[] = $row['email'];
$row['identification'] = User::getNameIdentificationById($row['subscriber_id']);
$row['identification'] = User::getNameIdentificationById($row['users_id']);
if ($row['identification'] === __("Unknown User")) {
$row['identification'] = $row['email'];
}
$row['backgroundURL'] = User::getBackground($row['subscriber_id']);
$row['photoURL'] = User::getPhoto($row['subscriber_id']);
$row['backgroundURL'] = User::getBackground($row['users_id']);
$row['photoURL'] = User::getPhoto($row['users_id']);
$subscribe[] = $row;
}