Skip to content

Commit

Permalink
Fix interface compability
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamek authored Jul 24, 2017
1 parent c9eccaf commit b557715
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ public function getActionOptions($componentAction)
* @param ILocale $locale
* @return null|CmsActionOption
*/
public function getActionOption($componentAction, array $parameters, ILocale $locale)
public function getActionOption($componentAction, array $parameters)
{
$found = $this->partnerRepository->findTranslatedOneBy($this->partnerRepository, $locale, $parameters + ['isActive' => true]);

//$found = $this->partnerRepository->findTranslatedOneBy($this->partnerRepository, $locale, $parameters + ['isActive' => true]);
$found = null; //!FIXME
if ($found)
{
return new CmsActionOption(($found->getLead() ? $found->getLead() . ' ' : '') . $found->getName(), $parameters);
}

return null;
}
}
}

0 comments on commit b557715

Please sign in to comment.