Skip to content

Commit

Permalink
Merge pull request kaltura#6438 from kaltura/Mercury-13.8.0-fixCaptio…
Browse files Browse the repository at this point in the history
…nsCopy

Get correct param
  • Loading branch information
yossipapi authored Nov 29, 2017
2 parents 38597b3 + f4bb279 commit 963b7d4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ protected function copyUpdatedCaptionsToEntry(entry $destEntry)
return;
}

$sourceEntryId = $sourceEntry->getId();
$captionAssets = assetPeer::retrieveByEntryId($sourceEntryId, array(CaptionPlugin::getAssetTypeCoreValue(CaptionAssetType::CAPTION)));
if(!count($captionAssets))
{
Expand Down

0 comments on commit 963b7d4

Please sign in to comment.