mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
Replace from about only if about is not empty
This commit is contained in:
parent
223c220aa4
commit
e0225924e1
3 changed files with 6 additions and 3 deletions
|
@ -26,7 +26,10 @@ if (!empty($_GET['channelName'])) {
|
|||
$user = User::getChannelOwner($_GET['channelName']);
|
||||
$showOnlyLoggedUserVideos = $user['id'];
|
||||
$title = User::getNameIdentificationById($user['id']);
|
||||
$description = User::getDescriptionById($user['id'], true);
|
||||
$about = User::getDescriptionById($user['id'], true);
|
||||
if(!isHTMLEmpty($about)){
|
||||
$description = $about;
|
||||
}
|
||||
$link = User::getChannelLink($user['id']);
|
||||
$logo = User::getPhoto($user['id']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue