mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
Fix
This commit is contained in:
parent
935b8fca7c
commit
ec8723a6f8
1 changed files with 5 additions and 2 deletions
|
@ -73,10 +73,13 @@ echo $content;
|
||||||
$keywords = strip_tags($advancedCustom->keywords);
|
$keywords = strip_tags($advancedCustom->keywords);
|
||||||
$videos_id = getVideos_id();
|
$videos_id = getVideos_id();
|
||||||
if(!empty($videos_id) && AVideoPlugin::isEnabledByName('VideoTags')){
|
if(!empty($videos_id) && AVideoPlugin::isEnabledByName('VideoTags')){
|
||||||
$keywords .= ", $videos_id";
|
//$keywords .= ", $videos_id";
|
||||||
$tags = VideoTags::getArrayFromVideosId($videos_id);
|
$tags = VideoTags::getArrayFromVideosId($videos_id);
|
||||||
if(!empty($tags)){
|
if(!empty($tags)){
|
||||||
$keywords .= ', '.implode(', ',$tags);
|
if(!empty($keywords)){
|
||||||
|
$keywords .= ', ';
|
||||||
|
}
|
||||||
|
$keywords .= implode(', ',$tags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue