Permalink
Browse files

Fix call

  • Loading branch information...
1 parent 34547e9 commit f46c490062b77baf362fe8c7c47f0011c909807f @Seldaek Seldaek committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Packagist/WebBundle/Package/Updater.php
@@ -285,7 +285,7 @@ private function updateInformation(Package $package, PackageInterface $data, $fl
foreach ($version->getSuggest() as $link) {
// clear links that have changed/disappeared (for updates)
if (!isset($suggests[$link->getPackageName()]) || $suggests[$link->getPackageName()] !== $link->getPackageVersion()) {
- $version->{'get'.$linkType}()->removeElement($link);
+ $version->getSuggest()->removeElement($link);
$em->remove($link);
} else {
// clear those that are already set

0 comments on commit f46c490

Please sign in to comment.