mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +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
|
@ -388,7 +388,7 @@ if (typeof gtag !== \"function\") {
|
|||
$about = br2nl($about);
|
||||
$about = strip_tags($about);
|
||||
}
|
||||
return $about;
|
||||
return trim($about);
|
||||
}
|
||||
|
||||
public static function getAboutFromId($id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue